Uses of Interface
delight.rhinosandox.RhinoSandbox
-
Packages that use RhinoSandbox Package Description delight.rhinosandox delight.rhinosandox.internal -
-
Uses of RhinoSandbox in delight.rhinosandox
Methods in delight.rhinosandox that return RhinoSandbox Modifier and Type Method Description RhinoSandbox
RhinoSandbox. allow(java.lang.Class<?> clazz)
Will allow access to this class in Rhino scripts.static RhinoSandbox
RhinoSandboxes. create()
RhinoSandbox
RhinoSandbox. inject(java.lang.Class<org.mozilla.javascript.ScriptableObject> clazz)
Will make this class available to instantiate in Rhino scripts.RhinoSandbox
RhinoSandbox. inject(java.lang.String variableName, java.lang.Object object)
Will add a global variable available to all scripts executed with this sandbox.RhinoSandbox
RhinoSandbox. setInstructionLimit(int limit)
Sets the maximum instructions allowed for script execution.RhinoSandbox
RhinoSandbox. setMaxDuration(int limitInMs)
Sets the maximum allowed duration for scripts.RhinoSandbox
RhinoSandbox. setUseSafeStandardObjects(boolean useSafeStandardObject)
If .initSafeStandardObjects should be used.RhinoSandbox
RhinoSandbox. setUseSealedScope(boolean value)
If the global scope should be sealed (default: true). -
Uses of RhinoSandbox in delight.rhinosandox.internal
Classes in delight.rhinosandox.internal that implement RhinoSandbox Modifier and Type Class Description class
RhinoSandboxImpl
Methods in delight.rhinosandox.internal that return RhinoSandbox Modifier and Type Method Description RhinoSandbox
RhinoSandboxImpl. allow(java.lang.Class<?> clazz)
RhinoSandbox
RhinoSandboxImpl. inject(java.lang.Class<org.mozilla.javascript.ScriptableObject> clazz)
RhinoSandbox
RhinoSandboxImpl. inject(java.lang.String variableName, java.lang.Object object)
RhinoSandbox
RhinoSandboxImpl. setInstructionLimit(int limit)
RhinoSandbox
RhinoSandboxImpl. setMaxDuration(int limitInMs)
Sets the maximum allowed duration for scripts.RhinoSandbox
RhinoSandboxImpl. setUseSafeStandardObjects(boolean useSafeStandardObjects)
RhinoSandbox
RhinoSandboxImpl. setUseSealedScope(boolean value)
-