|
||||||||||||
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
Abstract class that is used to execute an arbitrary method that is in introspected. This is the superclass for the GetExecutor and PropertyExecutor.
Field Summary | |
---|---|
protected Method |
method
Method to be executed. |
protected Log |
rlog
The executor instance log. |
Constructor Summary | |
---|---|
AbstractExecutor()
|
Method Summary | |
---|---|
abstract Object |
execute(Object o)
Execute method against context. |
Method |
getMethod()
Get the method to be executed. |
boolean |
isAlive()
Tell whether the executor is alive by looking at the value of the method. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected Log rlog
protected Method method
Constructor Detail |
public AbstractExecutor()
Method Detail |
public abstract Object execute(Object o) throws IllegalAccessException, InvocationTargetException
o
- The owner.
IllegalAccessException
- Method is inaccessible.
InvocationTargetException
- Method body throws an exception.public boolean isAlive()
public Method getMethod()
|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |