|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
An interface for a object provide information about functions that can be invoked on itself (through a key) and API for invoke the method on on itself
Method Summary | |
boolean |
canInvoke(java.lang.String functionName,
java.lang.Object[] args)
whether the function can be invoke with the arguments |
InvocableFunction |
getFunction(java.lang.String functionName,
java.lang.Object[] args)
Get the function |
java.lang.Object |
invoke(java.lang.String functionName,
java.lang.Object[] args)
invoke the function with the arguments provided |
Method Detail |
public boolean canInvoke(java.lang.String functionName, java.lang.Object[] args)
functionName
- the function nameargs
- the arguments
public InvocableFunction getFunction(java.lang.String functionName, java.lang.Object[] args)
functionName
- the function nameargs
- the arguments
public java.lang.Object invoke(java.lang.String functionName, java.lang.Object[] args) throws java.lang.Exception
functionName
- the function nameargs
- the arguments
java.lang.Exception
- if there's problem invoking the function
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |