public abstract class AbstractExecutor
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.reflect.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 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.
|
protected org.apache.commons.logging.Log rlog
protected java.lang.reflect.Method method
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()
Copyright © 2012 The Apache Software Foundation. All Rights Reserved.