GremlinPlugin.@Deprecated public interface GremlinModule
| Modifier and Type | Method and Description | 
|---|---|
| default Optional<Customizer[]> | getCustomizers()Deprecated.  Gets the list of all  Customizerimplementations to assign to a newGremlinScriptEngine. | 
| Optional<Customizer[]> | getCustomizers(String scriptEngineName)Deprecated.  Gets the list of  Customizerimplementations to assign to a newGremlinScriptEngine. | 
| String | getName()Deprecated.  The name of the module. | 
| default Optional<RemoteAcceptor> | remoteAcceptor()Deprecated.  Allows a plugin to utilize features of the  :remoteand:submitcommands of the Gremlin Console. | 
| default boolean | requireRestart()Deprecated.  Some modules may require a restart of the plugin host for the classloader to pick up the features. | 
String getName()
default boolean requireRestart()
Class.forName() to dynamically instantiate classes from the
 root classloader (e.g. JDBC drivers that instantiate via @{code DriverManager}).default Optional<Customizer[]> getCustomizers()
Customizer implementations to assign to a new GremlinScriptEngine. This is
 the same as doing getCustomizers(null).Optional<Customizer[]> getCustomizers(String scriptEngineName)
Customizer implementations to assign to a new GremlinScriptEngine. The
 implementation should filter the returned Customizers according to the supplied name of the
 Gremlin-enabled ScriptEngine. By providing a filter, GremlinModule developers can have the
 ability to target specific ScriptEngines.scriptEngineName - The name of the ScriptEngine or null to get all the available Customizersdefault Optional<RemoteAcceptor> remoteAcceptor()
:remote and :submit commands of the Gremlin Console.
 This method does not need to be implemented if the plugin is not meant for the Console for some reason or
 if it does not intend to take advantage of those commands.Copyright © 2013–2018 Apache Software Foundation. All rights reserved.