public interface ScriptingProvider extends Provider
Provider than provides Scripting capabilities.| Modifier and Type | Method and Description |
|---|---|
ScriptModel |
createScript(String realmId,
String mimeType,
String scriptName,
String scriptCode,
String scriptDescription)
Creates a new
ScriptModel instance. |
EvaluatableScriptAdapter |
prepareEvaluatableScript(ScriptModel scriptModel)
Returns an
EvaluatableScriptAdapter based on the given ScriptModel. |
InvocableScriptAdapter |
prepareInvocableScript(ScriptModel scriptModel,
ScriptBindingsConfigurer bindingsConfigurer)
Returns an
InvocableScriptAdapter based on the given ScriptModel. |
InvocableScriptAdapter prepareInvocableScript(ScriptModel scriptModel, ScriptBindingsConfigurer bindingsConfigurer)
InvocableScriptAdapter based on the given ScriptModel.
The InvocableScriptAdapter wraps a dedicated ScriptEngine that was populated with the provided ScriptBindingsConfigurer
scriptModel - the scriptModel to wrapbindingsConfigurer - populates the BindingsEvaluatableScriptAdapter prepareEvaluatableScript(ScriptModel scriptModel)
EvaluatableScriptAdapter based on the given ScriptModel.
The EvaluatableScriptAdapter wraps a dedicated ScriptEngine that was populated with empty bindings.
scriptModel - the scriptModel to wrapScriptModel createScript(String realmId, String mimeType, String scriptName, String scriptCode, String scriptDescription)
ScriptModel instance.realmId - scriptName - scriptCode - scriptDescription - Copyright © 2021 JBoss by Red Hat. All rights reserved.