001 package de.deepamehta.storage.neo4j; 002 003 import de.deepamehta.core.storage.spi.DeepaMehtaStorage; 004 import de.deepamehta.core.storage.spi.DeepaMehtaStorageFactory; 005 006 007 008 /** 009 * Factory for obtaining a Neo4j/Lucene based DeepaMehta storage. 010 * <p> 011 * Note: the factory in only needed by the test suites. 012 * The DeepaMehta Core obtains the storage as an OSGi service. 013 */ 014 public class Neo4jStorageFactory implements DeepaMehtaStorageFactory { 015 016 // -------------------------------------------------------------------------------------------------- Public Methods 017 018 @Override 019 public DeepaMehtaStorage createInstance(String databasePath) { 020 return new Neo4jStorage(databasePath); 021 } 022 }