org.onemind.jxp.util
Class StaticImport.StaticFunction
java.lang.Object
org.onemind.commons.invoke.AbstractInvocableFunction
org.onemind.jxp.util.StaticImport.StaticFunction
- All Implemented Interfaces:
- org.onemind.commons.invoke.InvocableFunction
- Enclosing class:
- StaticImport
private class StaticImport.StaticFunction
- extends org.onemind.commons.invoke.AbstractInvocableFunction
InvocableFunction which wrap a method
- Author:
- TiongHiang Lee (thlee@onemindsoft.org)
Field Summary |
private java.lang.reflect.Method |
_method
the method |
Method Summary |
java.lang.Object |
invoke(java.lang.Object target,
java.lang.Object[] args)
|
Methods inherited from class org.onemind.commons.invoke.AbstractInvocableFunction |
canInvokeOn, getArgTypes, getName, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
_method
private java.lang.reflect.Method _method
- the method
StaticImport.StaticFunction
public StaticImport.StaticFunction(java.lang.reflect.Method method)
- Constructor
- Parameters:
method
- the method
invoke
public java.lang.Object invoke(java.lang.Object target,
java.lang.Object[] args)
throws java.lang.Exception
-
- Throws:
java.lang.Exception