public abstract class SetExecutor
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected org.slf4j.Logger |
log
Class logger
|
private java.lang.reflect.Method |
method
Method to be executed.
|
Constructor and Description |
---|
SetExecutor() |
Modifier and Type | Method and Description |
---|---|
abstract java.lang.Object |
execute(java.lang.Object o,
java.lang.Object value)
Execute method against context.
|
java.lang.reflect.Method |
getMethod() |
boolean |
isAlive()
Tell whether the executor is alive by looking
at the value of the method.
|
protected void |
setMethod(java.lang.reflect.Method method) |
protected org.slf4j.Logger log
private java.lang.reflect.Method method
public abstract java.lang.Object execute(java.lang.Object o, java.lang.Object value) throws java.lang.IllegalAccessException, java.lang.reflect.InvocationTargetException
o
- value
- java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
public boolean isAlive()
public java.lang.reflect.Method getMethod()
protected void setMethod(java.lang.reflect.Method method)
method
-