Neo4jGremlinPlugin
.@Deprecated public final class Neo4jGremlinPlugin extends AbstractGremlinPlugin
DOT_STAR, ENV_CONSOLE_IO, ENV_CONSOLE_SHELL, IMPORT_SPACE, IMPORT_STATIC_SPACE, io, requireConsoleEnvironment, shell
ENVIRONMENT
Constructor and Description |
---|
Neo4jGremlinPlugin()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
afterPluginTo(PluginAcceptor pluginAcceptor)
Deprecated.
Called after the
AbstractGremlinPlugin.pluginTo(PluginAcceptor) method is executed which sets the AbstractGremlinPlugin.io and
AbstractGremlinPlugin.shell member variables. |
String |
getName()
Deprecated.
The name of the plugin.
|
void |
pluginTo(PluginAcceptor pluginAcceptor)
Deprecated.
Implementers will typically execute imports of classes within their project that they want available in the
console or they may use meta programming to introduce new extensions to the Gremlin.
|
boolean |
requireRestart()
Deprecated.
Some plugins may require a restart of the plugin host for the classloader to pick up the features.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
remoteAcceptor
public String getName()
GremlinPlugin
public void pluginTo(PluginAcceptor pluginAcceptor) throws PluginInitializationException, IllegalEnvironmentException
AbstractGremlinPlugin
AbstractGremlinPlugin.io
and AbstractGremlinPlugin.shell
member variables.pluginTo
in interface GremlinPlugin
pluginTo
in class AbstractGremlinPlugin
PluginInitializationException
- if there is a failure in the plugin iniitalization processIllegalEnvironmentException
- if AbstractGremlinPlugin.requireConsoleEnvironment
is set to true and if either
the AbstractGremlinPlugin.io
and AbstractGremlinPlugin.shell
member variables are null.public void afterPluginTo(PluginAcceptor pluginAcceptor) throws IllegalEnvironmentException, PluginInitializationException
AbstractGremlinPlugin
AbstractGremlinPlugin.pluginTo(PluginAcceptor)
method is executed which sets the AbstractGremlinPlugin.io
and
AbstractGremlinPlugin.shell
member variables.afterPluginTo
in class AbstractGremlinPlugin
IllegalEnvironmentException
PluginInitializationException
public boolean requireRestart()
GremlinPlugin
Class.forName()
to dynamically instantiate classes from the
root classloader (e.g. JDBC drivers that instantiate via @{code DriverManager}).Copyright © 2013–2017 Apache Software Foundation. All rights reserved.