|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.commons.jexl.util.AbstractExecutor
public abstract class 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 java.lang.reflect.Method |
method
Method to be executed. |
protected org.apache.commons.logging.Log |
rlog
The executor instance log. |
| Constructor Summary | |
|---|---|
AbstractExecutor()
|
|
| Method Summary | |
|---|---|
abstract java.lang.Object |
execute(java.lang.Object o)
Execute method against context. |
java.lang.reflect.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 org.apache.commons.logging.Log rlog
protected java.lang.reflect.Method method
| Constructor Detail |
|---|
public AbstractExecutor()
| Method Detail |
|---|
public abstract java.lang.Object execute(java.lang.Object o)
throws java.lang.IllegalAccessException,
java.lang.reflect.InvocationTargetException
o - The owner.
java.lang.IllegalAccessException - Method is inaccessible.
java.lang.reflect.InvocationTargetException - Method body throws an exception.public boolean isAlive()
public java.lang.reflect.Method getMethod()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||