protected void addGraph(final String name, final String configurationFile) {
        try {
            final Graph newGraph = GraphFactory.open(configurationFile);
            putGraph(name, newGraph);
            logger.info("Graph [{}] was successfully configured via [{}].", name, configurationFile);
        } catch (RuntimeException re) {
            logger.warn(String.format("Graph [%s] configured at [%s] could not be instantiated and will not be available in Gremlin Server.  GraphFactory message: %s",
                    name, configurationFile, re.getMessage()), re);
            if (re.getCause() != null) logger.debug("GraphFactory exception", re.getCause());
        }
    }
Create a new instance using the {@link Settings} from Gremlin Server.
gremlin-server/src/main/java/org/apache/tinkerpop/gremlin/server/util/DefaultGraphManager.java