|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.commons.jexl.util.AbstractExecutor | +--org.apache.commons.jexl.util.PropertyExecutor
Returned the value of object property when executed.
Field Summary | |
---|---|
protected Introspector |
introspector
The JEXL introspector used. |
protected String |
methodUsed
The method used. |
Fields inherited from class org.apache.commons.jexl.util.AbstractExecutor |
---|
method, rlog |
Constructor Summary | |
---|---|
PropertyExecutor(Log r,
Introspector ispctr,
Class clazz,
String property)
Constructor. |
Method Summary | |
---|---|
protected void |
discover(Class clazz,
String property)
Locate the getter method for this property. |
Object |
execute(Object o)
Execute method against context. |
Methods inherited from class org.apache.commons.jexl.util.AbstractExecutor |
---|
getMethod, isAlive |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected Introspector introspector
protected String methodUsed
Constructor Detail |
public PropertyExecutor(Log r, Introspector ispctr, Class clazz, String property)
r
- The log for this property executor instance.ispctr
- The JEXL introspector.clazz
- The class being examined.property
- The property being addressed.Method Detail |
protected void discover(Class clazz, String property)
clazz
- The class being analyzed.property
- Name of the property.public Object execute(Object o) throws IllegalAccessException, InvocationTargetException
execute
in class AbstractExecutor
o
- The owner.
InvocationTargetException
- Method body throws an exception.
IllegalAccessException
- Method is inaccessible.
|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |