public class GremlinJythonScriptEngineFactory extends PyScriptEngineFactory implements GremlinScriptEngineFactory
Constructor and Description |
---|
GremlinJythonScriptEngineFactory() |
Modifier and Type | Method and Description |
---|---|
String |
getEngineName() |
String |
getEngineVersion() |
List<String> |
getExtensions() |
String |
getLanguageName() |
String |
getLanguageVersion() |
List<String> |
getMimeTypes() |
List<String> |
getNames() |
Object |
getParameter(String key) |
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. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getMethodCallSyntax, getOutputStatement, getProgram
public void setCustomizerManager(GremlinScriptEngineManager manager)
GremlinScriptEngineFactory
Customizer
implementations made available by the manager and supply them
to the GremlinScriptEngine
implementation it creates.setCustomizerManager
in interface GremlinScriptEngineFactory
public String getEngineName()
getEngineName
in interface ScriptEngineFactory
public String getEngineVersion()
getEngineVersion
in interface ScriptEngineFactory
public List<String> getExtensions()
getExtensions
in interface ScriptEngineFactory
public String getLanguageName()
getLanguageName
in interface ScriptEngineFactory
public String getLanguageVersion()
getLanguageVersion
in interface ScriptEngineFactory
public List<String> getMimeTypes()
getMimeTypes
in interface ScriptEngineFactory
public List<String> getNames()
getNames
in interface ScriptEngineFactory
public Object getParameter(String key)
getParameter
in interface ScriptEngineFactory
public GremlinScriptEngine getScriptEngine()
GremlinScriptEngineFactory
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
getScriptEngine
in interface GremlinScriptEngineFactory
Copyright © 2013–2018 Apache Software Foundation. All rights reserved.