NVelocity.Runtime.Parser.Node
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
System.Reflection.MethodInfo method
         Method to be executed.
System.Reflection.PropertyInfo property
NVelocity.Runtime.RuntimeServices rsvc

Constructor Summary
AbstractExecutor()
        Initializes a new instance of the AbstractExecutor class.

Method Summary
object execute(object o, NVelocity.Context.InternalContextAdapter context)
         Execute method against context.
bool isAlive()
         Tell whether the executor is alive by looking at the value of the method.

Methods inherited from class System.Object
Equals, Finalize, GetHashCode, GetType, MemberwiseClone, ToString


Field Detail

method

protected internal System.Reflection.MethodInfo method

Method to be executed.


property

protected internal System.Reflection.PropertyInfo property


rsvc

protected internal NVelocity.Runtime.RuntimeServices rsvc

Constructor Detail

AbstractExecutor

protected AbstractExecutor()

Initializes a new instance of the AbstractExecutor class.

Method Detail

execute

public object execute(object o,
                      NVelocity.Context.InternalContextAdapter context)

Execute method against context.


isAlive

public bool isAlive()

Tell whether the executor is alive by looking at the value of the method.