public abstract class AbstractExecutor extends Object
Modifier and Type | Field and Description |
---|---|
protected Method |
method
Method to be executed.
|
protected org.apache.commons.logging.Log |
rlog
The executor instance log.
|
Constructor and Description |
---|
AbstractExecutor() |
Modifier and Type | Method and Description |
---|---|
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.
|
protected org.apache.commons.logging.Log rlog
protected Method method
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()
Copyright © 2014 The Apache Software Foundation. All rights reserved.