|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use ScriptContext | |
---|---|
javax.script | Apache BSF3 - an implementation of JSR-223 (javax.script). |
org.apache.bsf.utils.http | This package is INCOMPLETE. |
Uses of ScriptContext in javax.script |
---|
Classes in javax.script that implement ScriptContext | |
---|---|
class |
SimpleScriptContext
A simple implementation of ScriptContext . |
Fields in javax.script declared as ScriptContext | |
---|---|
protected ScriptContext |
AbstractScriptEngine.context
The default ScriptContext of this AbstractScriptEngine |
Methods in javax.script that return ScriptContext | |
---|---|
ScriptContext |
ScriptEngine.getContext()
Returns the default ScriptContext of the ScriptEngine whose Bindings, Readers and Writers are used for script executions when no ScriptContext is specified. |
ScriptContext |
AbstractScriptEngine.getContext()
Returns the default ScriptContext of the ScriptEngine whose Bindings, Readers and Writers are used for script executions when no ScriptContext is specified. |
protected ScriptContext |
AbstractScriptEngine.getScriptContext(Bindings bindings)
Returns a SimpleScriptContext which:
uses the specified Bindings as the ScriptEngine#ENGINE_SCOPE
has the same GLOBAL_SCOPE Bindings as the current context
uses the same Reader, Writer and Error Writer as the current context
|
Methods in javax.script with parameters of type ScriptContext | |
---|---|
Object |
ScriptEngine.eval(Reader reader,
ScriptContext context)
Evaluates a script obtained using the specified reader as the script source and using the bindings in the specifed ScriptContext. |
abstract Object |
CompiledScript.eval(ScriptContext context)
Evaluates the compiled script using the specified ScriptContext . |
Object |
ScriptEngine.eval(String script,
ScriptContext context)
Evaluates a script using the bindings in the specifed ScriptContext. |
void |
ScriptEngine.setContext(ScriptContext context)
Sets the default ScriptContext of the ScriptEngine whose Bindings, Readers and Writers are used for script executions when no ScriptContext is specified. |
void |
AbstractScriptEngine.setContext(ScriptContext context)
Sets the default ScriptContext of the ScriptEngine whose Bindings, Readers and Writers are used for script executions when no ScriptContext is specified. |
Uses of ScriptContext in org.apache.bsf.utils.http |
---|
Subinterfaces of ScriptContext in org.apache.bsf.utils.http | |
---|---|
interface |
HttpScriptContext
HttpScriptContext is a subinteface of ScriptContext which is used to connect a ScriptEngine and implicit objects form a servlet container to for a single request. |
Classes in org.apache.bsf.utils.http that implement ScriptContext | |
---|---|
class |
GenericHttpScriptContext
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |