/** * This constructor loads the implementations of {@link GremlinScriptEngineFactory} visible to the given * {@code ClassLoader} using the {@code ServiceLoader} mechanism. If loader is <code>null</code>, the script * engine factories that are bundled with the platform and that are in the usual extension directories * (installed extensions) are loaded. */ public DefaultGremlinScriptEngineManager(final ClassLoader loader) { initEngines(loader); }
/** * The effect of calling this constructor is the same as calling * {@code DefaultGremlinScriptEngineManager(Thread.currentThread().getContextClassLoader())}. */ public DefaultGremlinScriptEngineManager() { final ClassLoader ctxtLoader = Thread.currentThread().getContextClassLoader(); initEngines(ctxtLoader); }
/** * This constructor loads the implementations of {@link GremlinScriptEngineFactory} visible to the given * {@code ClassLoader} using the {@code ServiceLoader} mechanism. If loader is <code>null</code>, the script * engine factories that are bundled with the platform and that are in the usual extension directories * (installed extensions) are loaded. */ public DefaultGremlinScriptEngineManager(final ClassLoader loader) { initEngines(loader); }
/** * The effect of calling this constructor is the same as calling * {@code DefaultGremlinScriptEngineManager(Thread.currentThread().getContextClassLoader())}. */ public DefaultGremlinScriptEngineManager() { final ClassLoader ctxtLoader = Thread.currentThread().getContextClassLoader(); initEngines(ctxtLoader); }