Methods Summary |
---|
public T | getInterface(java.lang.Class clasz)Returns an implementation of an interface using functions compiled in
the interpreter. The methods of the interface
may be implemented using the invokeFunction method.
|
public T | getInterface(java.lang.Object thiz, java.lang.Class clasz)Returns an implementation of an interface using member functions of
a scripting object compiled in the interpreter. The methods of the
interface may be implemented using the invokeMethod method.
|
public java.lang.Object | invokeFunction(java.lang.String name, java.lang.Object args)Used to call top-level procedures and functions defined in scripts.
|
public java.lang.Object | invokeMethod(java.lang.Object thiz, java.lang.String name, java.lang.Object args)Calls a method on a script object compiled during a previous script execution,
which is retained in the state of the ScriptEngine .
|