|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Invocable
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 |
---|
boolean canInvoke(java.lang.String functionName, java.lang.Object[] args)
functionName
- the function nameargs
- the arguments
InvocableFunction getFunction(java.lang.String functionName, java.lang.Object[] args)
functionName
- the function nameargs
- the arguments
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 |