call callable #call context cx , scriptable scope , scriptable thisobj , object args of callable under restricted security domain where an action is allowed only if it is allowed according to the java stack on the moment of the execwithdomain call and securitydomain . any call to #getdynamicsecuritydomain object duringexecution of callable.call cx , scope , thisobj , args should return a domain incorporate restrictions imposed by securitydomain and java stack on the moment of callwithdomain invocation . the method should always be overridden , it is not declared abstract for compatibility reasons . concode_field_sep SecurityController global concode_field_sep void initGlobal concode_elem_sep Class<?> getStaticSecurityDomainClass concode_elem_sep boolean hasGlobal concode_elem_sep GeneratedClassLoader createLoader concode_elem_sep Class<?> getStaticSecurityDomainClassInternal concode_elem_sep GeneratedClassLoader createClassLoader concode_elem_sep Object execWithDomain concode_elem_sep SecurityController global concode_elem_sep Object getDynamicSecurityDomain
Object function ( Object arg0 , Context arg1 , final Callable arg2 , Scriptable arg3 , final Scriptable arg4 , final Object [ ] arg5 ) { return execWithDomain ( arg1 , arg3 , new Script ( ) { public Object exec ( Context arg1 , Scriptable arg3 ) { return arg2 . call ( arg1 , arg3 , arg4 , arg5 ) ; } } , arg0 ) ; }