|
||||||||
PREV NEXT | FRAMES NO FRAMES |
Callable.call(Context cx, Scriptable scope, Scriptable thisObj,
Object[] args)
using the Context instance associated with the current thread.
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.
Context.compileReader(Reader in, String sourceName, int lineno, Object securityDomain)
ignoring scope argument.
FunctionObject.getTypeTag(Class)
and FunctionObject.convertArg(Context, Scriptable, Object, int)
for type convertion.
GeneratedClassLoader
with restrictions imposed by
staticDomain and all current stack frames.
Scriptable
instance using the default
constructor for the class of the underlying Java method.
Context.addContextListener(ContextListener)
about Context events.
SecurityController.callWithDomain(Object securityDomain, Context cx, Callable callable, Scriptable scope, Scriptable thisObj, Object[] args)
.
ScriptableObject.getAttributes(int index)
. The engine always
ignored the start argument.
ScriptableObject.getAttributes(String name)
. The engine always
ignored the start argument.
Context.getUndefinedValue()
.
observeInstructionCount()
.
FunctionObject.getArity()
.
WrapFactory
and Context.getWrapFactory()
false
if result of Java method, which is instance of
String, Number, Boolean and
Character, should be used directly as JavaScript primitive
type.
- isSealed() -
Method in class org.mozilla.javascript.Context
- Checks if this is a sealed Context.
- isSealed() -
Method in class org.mozilla.javascript.ScriptableObject
- Return true if this object is sealed.
EvaluatorException.EvaluatorException(String)
to report
exceptions in Java code.
get
if the property is not
found.
Context.enter()
and Context.exit()
methods will
throw an exception.
ScriptableObject.setAttributes(int index, int attributes)
.
The engine always ignored the start argument.
ScriptableObject.setAttributes(String name, int attributes)
.
The engine always ignored the start argument.
ClassCache.get(Scriptable)
and
ClassCache.setCachingEnabled(boolean)
.
The function is kept only for compatibility and does nothing.
WrapFactory
and Context.setWrapFactory(WrapFactory)
Context.toObject(Object, Scriptable)
instead.
WrappedException.getWrappedException()
instead.
Context.setWrapFactory(WrapFactory)
Once an instance of this class or an extension of this class is enabled
for a given context (by calling setWrapFactory on that context), Rhino
will call the methods of this class whenever it needs to wrap a value
resulting from a call to a Java method or an access to a Java field.
|
||||||||
PREV NEXT | FRAMES NO FRAMES |