Class OGremlinServerPlugin
java.lang.Object
com.orientechnologies.tinkerpop.server.OGremlinServerPlugin
- All Implemented Interfaces:
OService,OServerLifecycleListener,OServerPlugin
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 OServer -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidconfig(OServer oServer, OServerParameterConfiguration[] iParams) Configures the handler.getName()voidinstallCustomGraph(org.apache.commons.configuration2.BaseConfiguration configuration, String graphName, String traversalName) voidvoidMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.orientechnologies.orient.server.OServerLifecycleListener
onAfterDeactivate, onBeforeActivateMethods inherited from interface com.orientechnologies.orient.server.plugin.OServerPlugin
getConfigClass, getContent, onAfterClientRequest, onBeforeClientRequest, onClientConnection, onClientDisconnection, onClientError, onSocketAccepted, onSocketDestroyed, sendShutdown
-
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
-
getServerConfig
- Throws:
FileNotFoundException
-
getGraphsConfig
- Throws:
FileNotFoundException
-
onAfterActivate
public void onAfterActivate()- Specified by:
onAfterActivatein interfaceOServerLifecycleListener
-
onBeforeDeactivate
public void onBeforeDeactivate()- Specified by:
onBeforeDeactivatein interfaceOServerLifecycleListener
-
installCustomGraph
-