Class | Description |
---|---|
ExportsObject | |
ModuleObject | |
ModuleScope | |
SlingContext |
The
SlingContext extends Context to overwrite the
SlingContext.initStandardObjects(ScriptableObject, boolean) method to add more
standard objects. |
SlingContextFactory |
The
SlingContextFactory extends the standard Rhino
ContextFactory to provide customized settings, such as having the dynamic
scope feature enabled by default. |
SlingGlobal |
The
SlingGlobal class provides two interesting new global
functions which are not part of the ECMAScript standard but which are
available in the Rhino Shell and which may be of use by JavaScripts:
print(args, ...)
Prints the arguments args in a single message to the scripts
logger available as the global log variable.
load(args, ...)
Loads the scripts named as parameters into the current scope one, after
the other. |
SlingWrapFactory |
Copyright © 2022 The Apache Software Foundation. All rights reserved.