abstract class AbstractRemoteDatastoreFactory implements DatastoreFactory<RestNeo4jDatastore> {
@Override
public RestNeo4jDatastore createGraphDatabaseService(URI uri, Properties properties) throws MalformedURLException {
return new RestNeo4jDatastore(uri.toURL().toExternalForm());
}