public interface GremlinScriptEngineFactory extends ScriptEngineFactory
GremlinScriptEngine
implementation and supplies to it any Customizer
implementations to
it that are available on the GremlinScriptEngineManager
.Modifier and Type | Method and Description |
---|---|
GremlinScriptEngine |
getScriptEngine()
Creates a new
GremlinScriptEngine instance. |
void |
setCustomizerManager(GremlinScriptEngineManager manager)
The factory should take the
Customizer implementations made available by the manager and supply them
to the GremlinScriptEngine implementation it creates. |
getEngineName, getEngineVersion, getExtensions, getLanguageName, getLanguageVersion, getMethodCallSyntax, getMimeTypes, getNames, getOutputStatement, getParameter, getProgram
GremlinScriptEngine getScriptEngine()
GremlinScriptEngine
instance. Unlike the JSR-223 implementation, the semantics for this
interface expect a "new" instance to be created for each call to this method. Caching or pooling is something
to be handled by a GremlinScriptEngineManager
.getScriptEngine
in interface ScriptEngineFactory
void setCustomizerManager(GremlinScriptEngineManager manager)
Customizer
implementations made available by the manager and supply them
to the GremlinScriptEngine
implementation it creates.Copyright © 2013–2021 Apache Software Foundation. All rights reserved.