API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.script. Invocable View Source
Author(s)
Mike Grogan
A. Sundararajan
Since
1.6
Version
1.0
Serial
Hierarchy
 Invocable
Subinterfaces
Description
public interface Invocable
  The optional interface implemented by ScriptEngines whose methods allow the invocation of procedures in scripts that have previously been executed.
See also:   
Methods
Hide/Show inherited methods
public T getInterface (Class< T> clasz)
  Returns an implementation of an interface using functions compiled in the interpreter.
public T getInterface (Object thiz, Class< T> clasz)
  Returns an implementation of an interface using member functions of a scripting object compiled in the interpreter.
public Object invokeFunction (String name, Object args) throws ScriptException NoSuchMethodException
  Used to call top-level procedures and functions defined in scripts.
public Object invokeMethod (Object thiz, String name, Object args) throws ScriptException NoSuchMethodException
  Calls a method on a script object compiled during a previous script execution, which is retained in the state of the ScriptEngine.
Fields
Hide/Show inherited fields
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar