public interface ScriptingProvider extends Provider
Provider
than provides Scripting capabilities.Modifier and Type | Method and Description |
---|---|
InvocableScript |
prepareScript(ScriptModel script)
Returns an
InvocableScript based on the given ScriptModel with an ScriptBindingsConfigurer.EMPTY ScriptBindingsConfigurer . |
InvocableScript |
prepareScript(ScriptModel script,
ScriptBindingsConfigurer bindingsConfigurer)
Returns an
InvocableScript based on the given ScriptModel . |
InvocableScript prepareScript(ScriptModel script, ScriptBindingsConfigurer bindingsConfigurer)
InvocableScript
based on the given ScriptModel
.
The InvocableScript
wraps a dedicated ScriptEngine
that was populated with the provided ScriptBindingsConfigurer
script
- the script to wrapbindingsConfigurer
- populates the Bindings
InvocableScript prepareScript(ScriptModel script)
InvocableScript
based on the given ScriptModel
with an ScriptBindingsConfigurer.EMPTY
ScriptBindingsConfigurer
.script
- prepareScript(ScriptModel, ScriptBindingsConfigurer)
Copyright © 2016 JBoss by Red Hat. All rights reserved.