import com.tinkerpop.gremlin.jsr223.GremlinScriptEngineFactory;
public class OGraphServerHandler extends OServerHandlerAbstract {
@Override
public void config(OServer oServer, OServerParameterConfiguration[] iParams) {
OLogManager.instance().info(this, "Installing GREMLIN language v.%s", new GremlinScriptEngineFactory().getEngineVersion());
OCommandManager.instance().registerRequester("gremlin", OCommandGremlin.class);
OCommandManager.instance().registerExecutor(OCommandGremlin.class, OCommandGremlinExecutor.class);
OSQLEngine.getInstance().registerFunction(OSQLFunctionGremlin.NAME, OSQLFunctionGremlin.class);
}