org.apache.velocity.runtime.parser.node
Class AbstractExecutor
java.lang.Object
org.apache.velocity.runtime.parser.node.AbstractExecutor
- Direct Known Subclasses:
- GetExecutor, PropertyExecutor
- public abstract class AbstractExecutor
- extends Object
Abstract class that is used to execute an arbitrary
method that is in introspected. This is the superclass
for the GetExecutor and PropertyExecutor.
- Version:
- $Id: AbstractExecutor.java 292918 2005-10-01 04:36:58Z wglass $
- Author:
- Jason van Zyl, Geir Magnusson Jr.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
protected Log log
method
protected Method method
- Method to be executed.
AbstractExecutor
public AbstractExecutor()
execute
public abstract Object execute(Object o)
throws IllegalAccessException,
InvocationTargetException
- Execute method against context.
- Throws:
IllegalAccessException
InvocationTargetException
isAlive
public boolean isAlive()
- Tell whether the executor is alive by looking
at the value of the method.
getMethod
public Method getMethod()
Copyright ? 2000-2007 Apache Software Foundation. All Rights Reserved.