String graphDbPropertyName = GraphDatabaseService.class.getName();
GraphDatabaseService graphDatabaseService = (GraphDatabaseService) properties.get(graphDbPropertyName);
if (graphDatabaseService == null) {
throw new XOException("Property " + graphDbPropertyName + " is not specified.");
}
return new GraphDbNeo4jDatastore(graphDatabaseService);
}