|
|||||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |
Interface Summary | |
---|---|
ClassOutput | Deprecated. To store generated bytecode implement ClassRepository
instead. |
ClassShutter | Embeddings that wish to filter Java classes that are visible to scripts through the LiveConnect, should implement this interface. |
ContextListener | Embeddings that wish to |
ErrorReporter | This is interface defines a protocol for the reporting of errors during JavaScript translation or execution. |
Function | This is interface that all functions in JavaScript must implement. |
Script | All compiled scripts implement this interface. |
Scriptable | This is interface that all objects in JavaScript must implement. |
SecuritySupport | Deprecated. Since Rhino 1.5 R4 this interface is split into ClassShutter interface with the single ClassShutter.visibleToScripts(String fullClassName) method and the abstract SecurityController class to implement domain-based security restrictions. |
WrapHandler | Deprecated. As of Rhino 1.5 Release 4, use WrapFactory . |
Wrapper | Objects that can wrap other values for reflection in the JS environment will implement Wrapper. |
Class Summary | |
---|---|
Context | This class represents the runtime context of an executing script. |
FunctionObject | |
ImporterTopLevel | Class ImporterTopLevel This class defines a ScriptableObject that can be instantiated as a top-level ("global") object to provide functionality similar to Java's "import" statement. |
ScriptableObject | This is the default implementation of the Scriptable interface. |
SecurityController | This class describes the support needed to implement security. |
Synchronizer | This class provides support for implementing Java-style synchronized methods in Javascript. |
WrapFactory | Embeddings that wish to provide their own custom wrappings for Java
objects may extend this class and call
Context.setWrapFactory(WrapFactory)
Once an instance of this class or an extension of this class is enabled
for a given context (by calling setWrapFactory on that context), Rhino
will call the methods of this class whenever it needs to wrap a value
resulting from a call to a Java method or an access to a Java field. |
Exception Summary | |
---|---|
ClassDefinitionException | Thrown if errors are detected while attempting to define a host object from a Java class. |
EcmaError | The class of exceptions raised by the engine as described in ECMA edition 3. |
JavaScriptException | Java reflection of JavaScript exceptions. |
NotAFunctionException | Thrown if call is attempted on an object that is not a function. |
PropertyException | Thrown if errors are detected while attempting to define a property of a host object from a Java class or method, or if a property is not found. |
|
|||||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |