public class ScriptBindingsFactory extends Object
Factory for the Bindings used by the ScriptingEngines
. The default
implementation will wrap the provided default bindings using an ScriptBindings
implementation.
Modifier and Type | Field and Description |
---|---|
protected List<ResolverFactory> |
resolverFactories |
Constructor and Description |
---|
ScriptBindingsFactory(List<ResolverFactory> resolverFactories) |
Modifier and Type | Method and Description |
---|---|
Bindings |
createBindings(VariableScope variableScope,
Bindings engineBindings) |
List<ResolverFactory> |
getResolverFactories() |
void |
setResolverFactories(List<ResolverFactory> resolverFactories) |
protected List<ResolverFactory> resolverFactories
public ScriptBindingsFactory(List<ResolverFactory> resolverFactories)
public Bindings createBindings(VariableScope variableScope, Bindings engineBindings)
public List<ResolverFactory> getResolverFactories()
public void setResolverFactories(List<ResolverFactory> resolverFactories)
Copyright © 2018. All rights reserved.