Class OGremlinServerPlugin
java.lang.Object
com.orientechnologies.orient.server.plugin.OServerPluginAbstract
com.orientechnologies.tinkerpop.server.OGremlinServerPlugin
- All Implemented Interfaces:
OService,OServerLifecycleListener,OServerPlugin,OServerPluginConfigurable
public class OGremlinServerPlugin
extends OServerPluginAbstract
implements OServerPluginConfigurable, OServerLifecycleListener
Created by Enrico Risa on 06/09/2017.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected OGraphConfigprotected org.apache.tinkerpop.gremlin.server.util.ServerGremlinExecutorprotected OrientGremlinGraphManagerprotected org.apache.tinkerpop.gremlin.server.GremlinServerprotected OServerFields inherited from class com.orientechnologies.orient.server.plugin.OServerPluginAbstract
enabled -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidchangeConfig(ODocument document) voidconfig(OServer oServer, OServerParameterConfiguration[] iParams) Configures the handler.getName()voidinstallCustomGraph(org.apache.commons.configuration2.BaseConfiguration configuration, String graphName, String traversalName) voidvoidvoidvoidMethods inherited from class com.orientechnologies.orient.server.plugin.OServerPluginAbstract
getContent, onAfterClientRequest, onBeforeClientRequest, onClientConnection, onClientDisconnection, onClientError, sendShutdown, shutdown, startupMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.orientechnologies.orient.server.plugin.OServerPlugin
onSocketAccepted, onSocketDestroyed
-
Field Details
-
gremlinServer
protected org.apache.tinkerpop.gremlin.server.GremlinServer gremlinServer -
oServer
-
graphManager
-
executor
protected org.apache.tinkerpop.gremlin.server.util.ServerGremlinExecutor executor -
config
-
-
Constructor Details
-
OGremlinServerPlugin
public OGremlinServerPlugin()
-
-
Method Details
-
getName
-
config
Description copied from interface:OServerPluginConfigures the handler. Called at startup.- Specified by:
configin interfaceOServerPlugin- Overrides:
configin classOServerPluginAbstract
-
getServerConfig
- Throws:
FileNotFoundException
-
getGraphsConfig
- Throws:
FileNotFoundException
-
getConfig
- Specified by:
getConfigin interfaceOServerPluginConfigurable
-
changeConfig
- Specified by:
changeConfigin interfaceOServerPluginConfigurable
-
onBeforeActivate
public void onBeforeActivate()- Specified by:
onBeforeActivatein interfaceOServerLifecycleListener
-
onAfterActivate
public void onAfterActivate()- Specified by:
onAfterActivatein interfaceOServerLifecycleListener
-
onBeforeDeactivate
public void onBeforeDeactivate()- Specified by:
onBeforeDeactivatein interfaceOServerLifecycleListener
-
onAfterDeactivate
public void onAfterDeactivate()- Specified by:
onAfterDeactivatein interfaceOServerLifecycleListener
-
installCustomGraph
-