Package org.apache.sling.scripting.javascript.helper
-
Class Summary Class Description ExportsObject ModuleObject ModuleScope SlingContext TheSlingContextextends Context to overwrite theSlingContext.initStandardObjects(ScriptableObject, boolean)method to add more standard objects.SlingContextFactory TheSlingContextFactoryextends the standard Rhino ContextFactory to provide customized settings, such as having the dynamic scope feature enabled by default.SlingGlobal TheSlingGlobalclass 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 argumentsargsin 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