com.buschmais.jqassistant.neo4jserver.neo4jv2.Neo4jV2ServerFactory Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of neo4jserver.neo4jv2 Show documentation
Show all versions of neo4jserver.neo4jv2 Show documentation
Provides the adapter for the embedded Neo4j 2.x Community Server.
The newest version!
package com.buschmais.jqassistant.neo4jserver.neo4jv2;
import com.buschmais.jqassistant.core.store.impl.EmbeddedGraphStore;
import com.buschmais.jqassistant.neo4jserver.bootstrap.api.Server;
import com.buschmais.jqassistant.neo4jserver.bootstrap.spi.ServerFactory;
public class Neo4jV2ServerFactory implements ServerFactory {
@Override
public Server getServer(EmbeddedGraphStore store, String address, int port) {
return new Neo4jV2CommunityNeoServer(store, address, port);
}
}