@Override
    public GremlinScriptEngine getScriptEngine() {
        final List<Customizer> customizers =  manager.getCustomizers(ENGINE_NAME);
        return (customizers.isEmpty()) ? new GremlinLangScriptEngine() :
                new GremlinLangScriptEngine(customizers.toArray(new Customizer[customizers.size()]));
    }
A {@link GremlinScriptEngineFactory} implementation that creates {@link GremlinLangScriptEngine} instances.
gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/jsr223/GremlinLangScriptEngineFactory.java