Class NativeJavaPackage

java.lang.Object
org.mozilla.javascript.ScriptableObject
org.mozilla.javascript.NativeJavaPackage
All Implemented Interfaces:
Serializable, ConstProperties, DebuggableObject, Scriptable, SymbolScriptable
Direct Known Subclasses:
NativeJavaTopPackage

public class NativeJavaPackage extends ScriptableObject
This class reflects Java packages into the JavaScript environment. We lazily reflect classes and subpackages, and use a caching/sharing system to ensure that members reflected into one JavaPackage appear in all other references to the same package (as with Packages.java.lang and java.lang).
Author:
Mike Shaver
See Also: