Interface BindingsCustomizer
- 
- All Superinterfaces:
- Customizer
 - All Known Implementing Classes:
- DefaultBindingsCustomizer,- LazyBindingsCustomizer
 
 public interface BindingsCustomizer extends Customizer Provides a way to alter the bindings on aGremlinScriptEngine. Those implementingGremlinScriptEngineinstances need to be concerned with accounting for thisCustomizer. It is handled automatically by theDefaultGremlinScriptEngineManager.- Author:
- Stephen Mallette (http://stephen.genoprime.com)
 
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description BindingsgetBindings()Gets the bindings to add to aGremlinScriptEngine.intgetScope()Gets the scope to which the bindings apply.
 
- 
- 
- 
Method Detail- 
getBindingsBindings getBindings() Gets the bindings to add to aGremlinScriptEngine.
 - 
getScopeint getScope() Gets the scope to which the bindings apply. The scope is determined by theScriptContextvalues where "100" isEngineScope(bindings apply to the currentGremlinScriptEngine) and "200" isGlobalScope(bindings apply to the engines created by the currentGremlinScriptEngineManager.
 
- 
 
-