org.boris.xlloop.reflect
Class DelegateFunction

java.lang.Object
  extended by org.boris.xlloop.reflect.DelegateFunction
All Implemented Interfaces:
IFunction

public class DelegateFunction
extends java.lang.Object
implements IFunction


Constructor Summary
DelegateFunction(java.lang.Class clazz, java.lang.Object object, java.lang.String method)
           
DelegateFunction(java.lang.Object object, java.lang.reflect.Method method)
           
 
Method Summary
 XLoper execute(IFunctionContext context, XLoper[] args)
           
 java.lang.String getName()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DelegateFunction

public DelegateFunction(java.lang.Class clazz,
                        java.lang.Object object,
                        java.lang.String method)
                 throws java.lang.SecurityException,
                        java.lang.NoSuchMethodException
Throws:
java.lang.SecurityException
java.lang.NoSuchMethodException

DelegateFunction

public DelegateFunction(java.lang.Object object,
                        java.lang.reflect.Method method)
Method Detail

getName

public java.lang.String getName()

execute

public XLoper execute(IFunctionContext context,
                      XLoper[] args)
               throws RequestException
Specified by:
execute in interface IFunction
Throws:
RequestException