Searched defs:bindings (Results 1 - 23 of 23) sorted by relevance

/forgerock/openam-v13/openam-scripting/src/main/java/org/forgerock/openam/scripting/
H A DScriptEvaluator.java31 * bindings associated with the script will be passed to the engine when the script is evaluated.
38 * <li><em>Script</em> variables are set in the bindings attached to a {@link ScriptObject}.</li>
39 * <li><em>Parameter</em> variables are set by the bindings parameter to this method.</li>
46 * @param bindings any additional variable bindings to set before running the script.
53 <T> T evaluateScript(ScriptObject script, Bindings bindings) throws ScriptException; argument
58 * be available to all scripts. For per-script state to initialise, use the bindings element on the script object
H A DScriptObject.java35 private final Bindings bindings; field in class:ScriptObject
38 * Constructs a script object with the given name, script body, language and variable bindings.
43 * @param bindings the bindings used for the script.
46 final Bindings bindings) {
51 this.bindings = bindings;
87 * Variable bindings that should be set when executing this script.
90 return bindings;
104 return !(bindings !
45 ScriptObject(final String name, final String script, final ScriptingLanguage language, final Bindings bindings) argument
[all...]
H A DStandardScriptEvaluator.java76 * @param bindings any additional variable bindings to set before running the script.
83 public <T> T evaluateScript(final ScriptObject script, final Bindings bindings) throws ScriptException { argument
91 final Bindings variableBindings = mergeBindings(script.getBindings(), bindings);
115 * Merges all sets of variable bindings into a single scope to use when evaluating the script. Bindings later in
116 * the list will override bindings earlier in the list.
118 * @param allBindings the set of all variable bindings to merge. Cannot be null.
119 * @return the merged set of all variable bindings.
134 * @param engineScope the variable bindings to use for the engine scope.
H A DThreadPoolScriptEvaluator.java82 * @param bindings {@inheritDoc}
86 public <T> T evaluateScript(final ScriptObject script, final Bindings bindings) throws ScriptException { argument
88 final Future<T> future = threadPool.submit(new ScriptExecutorTask<T>(script, bindings));
208 private final Bindings bindings; field in class:ThreadPoolScriptEvaluator.ScriptExecutorTask
210 private ScriptExecutorTask(final ScriptObject scriptObject, final Bindings bindings) { argument
213 this.bindings = bindings;
218 return delegate.evaluateScript(scriptObject, bindings);
/forgerock/openidm-v4/openidm-script/src/main/java/org/forgerock/openidm/script/
H A DScriptCustomizer.java16 * A ScriptCustomizer allows an implementer to customize the script bindings per request.
20 void handleCreate(Context context, CreateRequest request, Bindings bindings) throws ResourceException; argument
22 void handleRead(Context context, ReadRequest request, Bindings bindings) throws ResourceException; argument
24 void handleUpdate(Context context, UpdateRequest request, Bindings bindings) throws ResourceException; argument
26 void handleAction(Context context, ActionRequest request, Bindings bindings) throws ResourceException; argument
28 void handleDelete(Context context, DeleteRequest request, Bindings bindings) throws ResourceException; argument
30 void handlePatch(Context context, PatchRequest request, Bindings bindings) throws ResourceException; argument
32 void handleQuery(Context context, QueryRequest request, Bindings bindings) throws ResourceException; argument
H A DAbstractScriptedService.java94 protected Bindings bindings = null; field in class:AbstractScriptedService
215 scriptEntry.setBindings(bindings);
247 public void handleAction(final Context context, final ActionRequest request, final Bindings bindings) argument
252 handleRequest(context, request, bindings);
255 public void handleCreate(final Context context, final CreateRequest request, final Bindings bindings) argument
260 handleRequest(context, request, bindings);
263 public void handleDelete(final Context context, final DeleteRequest request, final Bindings bindings) argument
268 handleRequest(context, request, bindings);
271 public void handlePatch(final Context context, final PatchRequest request, final Bindings bindings) argument
276 handleRequest(context, request, bindings);
279 handleQuery(final Context context, final QueryRequest request, final Bindings bindings) argument
287 handleRead(final Context context, final ReadRequest request, final Bindings bindings) argument
295 handleUpdate(final Context context, final UpdateRequest request, final Bindings bindings) argument
303 handleRequest(final Context context, final Request request, final Bindings bindings) argument
[all...]
H A DScriptedRequestHandler.java126 public void setBindings(final Bindings bindings) { argument
127 getScriptEntry().setBindings(bindings);
/forgerock/openidm-v4/openidm-workflow-activiti/src/main/java/org/forgerock/openidm/workflow/activiti/impl/
H A DOpenIDMResolver.java26 Bindings bindings; field in class:OpenIDMResolver
28 public OpenIDMResolver(Bindings bindings) { argument
29 this.bindings = bindings;
34 return bindings.containsKey(key);
39 return bindings.get(key);
/forgerock/openam/openam-scripting/src/main/java/org/forgerock/openam/scripting/
H A DScriptEvaluator.java31 * bindings associated with the script will be passed to the engine when the script is evaluated.
38 * <li><em>Script</em> variables are set in the bindings attached to a {@link ScriptObject}.</li>
39 * <li><em>Parameter</em> variables are set by the bindings parameter to this method.</li>
46 * @param bindings any additional variable bindings to set before running the script.
53 <T> T evaluateScript(ScriptObject script, Bindings bindings) throws ScriptException; argument
58 * be available to all scripts. For per-script state to initialise, use the bindings element on the script object
H A DScriptObject.java35 private final Bindings bindings; field in class:ScriptObject
38 * Constructs a script object with the given name, script body, language and variable bindings.
43 * @param bindings the bindings used for the script.
46 final Bindings bindings) {
51 this.bindings = bindings;
87 * Variable bindings that should be set when executing this script.
90 return bindings;
104 return !(bindings !
45 ScriptObject(final String name, final String script, final ScriptingLanguage language, final Bindings bindings) argument
[all...]
H A DStandardScriptEvaluator.java76 * @param bindings any additional variable bindings to set before running the script.
83 public <T> T evaluateScript(final ScriptObject script, final Bindings bindings) throws ScriptException { argument
91 final Bindings variableBindings = mergeBindings(script.getBindings(), bindings);
115 * Merges all sets of variable bindings into a single scope to use when evaluating the script. Bindings later in
116 * the list will override bindings earlier in the list.
118 * @param allBindings the set of all variable bindings to merge. Cannot be null.
119 * @return the merged set of all variable bindings.
134 * @param engineScope the variable bindings to use for the engine scope.
H A DThreadPoolScriptEvaluator.java82 * @param bindings {@inheritDoc}
86 public <T> T evaluateScript(final ScriptObject script, final Bindings bindings) throws ScriptException { argument
88 final Future<T> future = threadPool.submit(new ScriptExecutorTask<T>(script, bindings));
208 private final Bindings bindings; field in class:ThreadPoolScriptEvaluator.ScriptExecutorTask
210 private ScriptExecutorTask(final ScriptObject scriptObject, final Bindings bindings) { argument
213 this.bindings = bindings;
218 return delegate.evaluateScript(scriptObject, bindings);
/forgerock/openam-v13/openam-scripting/src/test/java/org/forgerock/openam/scripting/
H A DAbstractSandboxTests.java66 private <T> T eval(Bindings bindings, String...script) throws ScriptException { argument
67 Object result = scriptEngine.eval(scriptEngine.getFactory().getProgram(script), bindings);
93 Bindings bindings = new SimpleBindings();
94 bindings.put("allowed", allowed);
97 eval(bindings, "allowed.setDirty()");
107 Bindings bindings = new SimpleBindings();
108 bindings.put("allowed", allowed);
112 eval(bindings, "allowed.forbiddenFruit.setDirty()");
H A DStandardScriptEvaluatorTest.java122 Bindings bindings = new SimpleBindings();
123 bindings.put(varName, value);
124 ScriptObject script = getJavascript(bindings, varName);
138 Bindings bindings = new SimpleBindings();
139 bindings.put(varName, value);
143 String result = testEvaluator.evaluateScript(script, bindings);
156 Bindings bindings = new SimpleBindings();
157 bindings.put(varName, scriptValue);
158 ScriptObject script = getJavascript(bindings, varName);
189 * are reflected in the final state of the bindings passe
290 getJavascript(Bindings bindings, String... script) argument
[all...]
/forgerock/openam/openam-scripting/src/test/java/org/forgerock/openam/scripting/
H A DAbstractSandboxTests.java66 private <T> T eval(Bindings bindings, String...script) throws ScriptException { argument
67 Object result = scriptEngine.eval(scriptEngine.getFactory().getProgram(script), bindings);
93 Bindings bindings = new SimpleBindings();
94 bindings.put("allowed", allowed);
97 eval(bindings, "allowed.setDirty()");
107 Bindings bindings = new SimpleBindings();
108 bindings.put("allowed", allowed);
112 eval(bindings, "allowed.forbiddenFruit.setDirty()");
H A DStandardScriptEvaluatorTest.java122 Bindings bindings = new SimpleBindings();
123 bindings.put(varName, value);
124 ScriptObject script = getJavascript(bindings, varName);
138 Bindings bindings = new SimpleBindings();
139 bindings.put(varName, value);
143 String result = testEvaluator.evaluateScript(script, bindings);
156 Bindings bindings = new SimpleBindings();
157 bindings.put(varName, scriptValue);
158 ScriptObject script = getJavascript(bindings, varName);
189 * are reflected in the final state of the bindings passe
290 getJavascript(Bindings bindings, String... script) argument
[all...]
/forgerock/web-agents-v4/expat/
H A Dxmlparse.c188 BINDING *bindings; member in struct:tag
912 /* moves list of bindings to freeBindingList */
914 moveToFreeBindingList(XML_Parser parser, BINDING *bindings) argument
916 while (bindings) {
917 BINDING *b = bindings;
918 bindings = bindings->nextTagBinding;
937 moveToFreeBindingList(parser, tag->bindings);
938 tag->bindings = NULL;
1117 destroyBindings(BINDING *bindings, XML_Parse argument
2456 BINDING *bindings = NULL; local
[all...]
/forgerock/opendj-b2.6/resource/dsml/lib/
H A Djaxb-xjc.jarMETA-INF/ META-INF/MANIFEST.MF META-INF/maven/ META-INF/maven/com. ...
H A Djaxb-impl.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/sun/ com/sun/xml/ com/sun/xml/bind/ ...
/forgerock/opendj2-jel-hg/resource/dsml/lib/
H A Djaxb-xjc.jarMETA-INF/ META-INF/MANIFEST.MF META-INF/maven/ META-INF/maven/com. ...
H A Djaxb-impl.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/sun/ com/sun/xml/ com/sun/xml/bind/ ...
/forgerock/openam-v13/openam-oauth/samples/StockClient/lib/
H A Djavaee.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/servlet/ javax/servlet/jsp/ javax/servlet/jsp/jstl/ ...
/forgerock/openam-v13/openam-oauth/samples/StockService/lib/
H A Djavaee.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/servlet/ javax/servlet/jsp/ javax/servlet/jsp/jstl/ ...

Completed in 99 milliseconds