Modifier and Type | Interface and Description |
---|---|
static class |
ScriptEntry.Visibility |
Modifier and Type | Method and Description |
---|---|
void |
addScriptListener(ScriptListener hook)
Adds an observer to the set of observers for this object, provided that
it is not the same as some observer already in the set.
|
void |
deleteScriptListener(ScriptListener hook)
Deletes an observer from the set of observers of this object.
|
ScriptName |
getName() |
Script |
getScript(Context context)
Get a new Non-ThreadSafe Script instance.
|
Bindings |
getScriptBindings(Context context,
Bindings request)
Get a JSR223 Script Engine aware binding.
|
ScriptEntry.Visibility |
getVisibility() |
boolean |
isActive()
Returns true if this script can be evaluated.
|
createBindings, flush, get, getBindings, put, setBindings
void addScriptListener(ScriptListener hook)
hook
- an observer to be added.NullPointerException
- if the parameter o is null.void deleteScriptListener(ScriptListener hook)
null
to this method will have no effect.hook
- the observer to be deleted.Script getScript(Context context)
context
- the request Context
Bindings getScriptBindings(Context context, Bindings request)
context
- the request Context
request
- the request bindingsBindings
contains the service and global scope.ScriptName getName()
ScriptEntry.Visibility getVisibility()
boolean isActive()
ScriptEngine
and the
SourceUnit
.Copyright © 2025 Open Identity Platform Community. All rights reserved.