Package org.apache.synapse.mediators.bsf.access.control

# Class SandboxWrapFactory

java.lang.Object
org.mozilla.javascript.WrapFactory
org.apache.synapse.mediators.bsf.access.control.SandboxWrapFactory

public class SandboxWrapFactory extends org.mozilla.javascript.WrapFactory
Wraps sandbox native Java objects that are used in Script Mediator access control.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `SandboxWrapFactory(org.apache.synapse.script.access.AccessControlConfig nativeObjectAccessControlConfig)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `org.mozilla.javascript.Scriptable`
  `wrapAsJavaObject(org.mozilla.javascript.Context cx, org.mozilla.javascript.Scriptable scope, Object javaObject, Class staticType)`

  ### Methods inherited from class org.mozilla.javascript.WrapFactory

  `isJavaPrimitiveWrap, setJavaPrimitiveWrap, wrap, wrapJavaClass, wrapNewObject`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### SandboxWrapFactory

    public SandboxWrapFactory(org.apache.synapse.script.access.AccessControlConfig nativeObjectAccessControlConfig)

- ## Method Details

  - ### wrapAsJavaObject

    public org.mozilla.javascript.Scriptable wrapAsJavaObject(org.mozilla.javascript.Context cx, org.mozilla.javascript.Scriptable scope, Object javaObject, Class staticType)
    Overrides:
      `wrapAsJavaObject` in class `org.mozilla.javascript.WrapFactory`