Class SandboxContextFactory


  • public class SandboxContextFactory
    extends org.mozilla.javascript.ContextFactory
    Represents the sandbox context factory - which is used with access control of the Script Mediator.
    • Nested Class Summary

      • Nested classes/interfaces inherited from class org.mozilla.javascript.ContextFactory

        org.mozilla.javascript.ContextFactory.GlobalSetter, org.mozilla.javascript.ContextFactory.Listener
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected org.mozilla.javascript.Context makeContext()  
      • Methods inherited from class org.mozilla.javascript.ContextFactory

        addListener, call, checkNotSealed, createClassLoader, doTopCall, enter, enterContext, enterContext, exit, getApplicationClassLoader, getE4xImplementationFactory, getGlobal, getGlobalSetter, hasExplicitGlobal, hasFeature, initApplicationClassLoader, initGlobal, isSealed, observeInstructionCount, onContextCreated, onContextReleased, removeListener, seal
    • Constructor Detail

      • SandboxContextFactory

        public SandboxContextFactory​(AccessControlConfig nativeObjectAccessControlConfig)
    • Method Detail

      • makeContext

        protected org.mozilla.javascript.Context makeContext()
        Overrides:
        makeContext in class org.mozilla.javascript.ContextFactory