org.apache.velocity.runtime.parser.node
クラス AbstractExecutor

java.lang.Object
  拡張org.apache.velocity.runtime.parser.node.AbstractExecutor
直系の既知のサブクラス:
GetExecutor, PropertyExecutor

public abstract class AbstractExecutor
extends java.lang.Object

Abstract class that is used to execute an arbitrary method that is in introspected. This is the superclass for the GetExecutor and PropertyExecutor.

バージョン:
$Id: AbstractExecutor.java,v 1.10 2001/10/22 03:53:25 jon Exp $
作成者:
Jason van Zyl

フィールドの概要
protected  java.lang.reflect.Method method
          Method to be executed.
protected  RuntimeServices rsvc
           
 
コンストラクタの概要
AbstractExecutor()
           
 
メソッドの概要
abstract  java.lang.Object execute(java.lang.Object o, InternalContextAdapter context)
          Execute method against context.
 boolean isAlive()
          Tell whether the executor is alive by looking at the value of the method.
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

フィールドの詳細

rsvc

protected RuntimeServices rsvc

method

protected java.lang.reflect.Method method
Method to be executed.

コンストラクタの詳細

AbstractExecutor

public AbstractExecutor()
メソッドの詳細

execute

public abstract java.lang.Object execute(java.lang.Object o,
                                         InternalContextAdapter context)
                                  throws java.lang.IllegalAccessException,
                                         MethodInvocationException
Execute method against context.

例外:
java.lang.IllegalAccessException
MethodInvocationException

isAlive

public boolean isAlive()
Tell whether the executor is alive by looking at the value of the method.



Copyright © 2003 Apache Software Foundation. All Rights Reserved.