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​(AccessControlConfig nativeObjectAccessControlConfig)` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    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 Detail

    - #### SandboxWrapFactory

          public SandboxWrapFactory​(AccessControlConfig nativeObjectAccessControlConfig)

  - ### Method Detail

    - #### 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`