org.apache.tinkerpop.gremlin.python.jsr223

## Class GremlinJythonScriptEngineFactory

- java.lang.Object
- - PyScriptEngineFactory
  - - org.apache.tinkerpop.gremlin.python.jsr223.GremlinJythonScriptEngineFactory

- All Implemented Interfaces:
    ScriptEngineFactory, GremlinScriptEngineFactory

      public class GremlinJythonScriptEngineFactory
      extends PyScriptEngineFactory
      implements GremlinScriptEngineFactory

  Author:
    Marko A. Rodriguez (http://markorodriguez.com)

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `GremlinJythonScriptEngineFactory()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    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.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

    - ### Methods inherited from interface javax.script.ScriptEngineFactory

      `getMethodCallSyntax, getOutputStatement, getProgram`

- - ### Constructor Detail

    - #### GremlinJythonScriptEngineFactory

          public GremlinJythonScriptEngineFactory()

  - ### Method Detail

    - #### setCustomizerManager

          public void setCustomizerManager(GremlinScriptEngineManager manager)

      Description copied from interface: `GremlinScriptEngineFactory`
      The factory should take the `Customizer` implementations made available by the manager and supply them to the `GremlinScriptEngine` implementation it creates.
      Specified by:
        `setCustomizerManager` in interface `GremlinScriptEngineFactory`

    - #### getEngineName

          public String getEngineName()

      Specified by:
        `getEngineName` in interface `ScriptEngineFactory`

    - #### getEngineVersion

          public String getEngineVersion()

      Specified by:
        `getEngineVersion` in interface `ScriptEngineFactory`

    - #### getExtensions

          public List<String> getExtensions()

      Specified by:
        `getExtensions` in interface `ScriptEngineFactory`

    - #### getLanguageName

          public String getLanguageName()

      Specified by:
        `getLanguageName` in interface `ScriptEngineFactory`

    - #### getLanguageVersion

          public String getLanguageVersion()

      Specified by:
        `getLanguageVersion` in interface `ScriptEngineFactory`

    - #### getMimeTypes

          public List<String> getMimeTypes()

      Specified by:
        `getMimeTypes` in interface `ScriptEngineFactory`

    - #### getNames

          public List<String> getNames()

      Specified by:
        `getNames` in interface `ScriptEngineFactory`

    - #### getParameter

          public Object getParameter(String key)

      Specified by:
        `getParameter` in interface `ScriptEngineFactory`

    - #### getScriptEngine

          public GremlinScriptEngine getScriptEngine()

      Description copied from interface: `GremlinScriptEngineFactory`
      Creates a new `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`.
      Specified by:
        `getScriptEngine` in interface `ScriptEngineFactory`
      Specified by:
        `getScriptEngine` in interface `GremlinScriptEngineFactory`

Copyright © 2013–2019 Apache Software Foundation. All rights reserved.