| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Invocable
The Invocable interface (optional) contains methods which allow the Java application to invoke intermediate codes in the underlying scripting interpreter.
| Method Summary | |
|---|---|
|  java.lang.Object | getInterface(java.lang.Class clasz)Retrieves an instance of java class whose methods are impelemented using procedures in script which are in the intermediate code repository in the underlying interpreter. | 
|  java.lang.Object | getInterface(java.lang.Object thiz,
             java.lang.Class clasz)Retrieves an instance of java class whose methods are impelemented using procedures in script which are in the intermediate code repository in the underlying interpreter. | 
|  java.lang.Object | invokeFunction(java.lang.String methodName,
               java.lang.Object[] args)Invokes a scripting procedure with the given name using the array of objects as its arguments set. | 
|  java.lang.Object | invokeMethod(java.lang.Object thiz,
             java.lang.String methodName,
             java.lang.Object[] args)Invokes a procedure on an object which already defined in the script using the array of objects as its arguments set. | 
| Method Detail | 
|---|
java.lang.Object invokeFunction(java.lang.String methodName,
                                java.lang.Object[] args)
                                throws ScriptException,
                                       java.lang.NoSuchMethodException
methodName - name of the scripting procedureargs - arguments set for the scripting procedure
ScriptException - if the invocation of the scripting procedure
         fails
java.lang.NoSuchMethodException
java.lang.Object invokeMethod(java.lang.Object thiz,
                              java.lang.String methodName,
                              java.lang.Object[] args)
                              throws ScriptException,
                                     java.lang.NoSuchMethodException
methodName - name of the procedure to be invokedthiz - object on which the procedure is calledargs - arguments set for the procedure
ScriptException - if the invocation of the procedure 
         fails
java.lang.NoSuchMethodException
java.lang.Object getInterface(java.lang.Object thiz,
                              java.lang.Class clasz)
thiz - object on which the procedure is calledclasz - an interface which the returned class must 
              implement
java.lang.Object getInterface(java.lang.Class clasz)
clasz - an interface which the returned class must 
              implement
| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||