org.boris.xlloop.reflect
Class DelegateFunction
java.lang.Object
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)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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)
getName
public java.lang.String getName()
execute
public XLoper execute(IFunctionContext context,
XLoper[] args)
throws RequestException
- Specified by:
execute
in interface IFunction
- Throws:
RequestException