001package de.deepamehta.core.storage.spi;
002
003import de.deepamehta.core.service.ModelFactory;
004
005
006
007/**
008 * Factory for obtaining a DeepaMehta storage.
009 * <p>
010 * Note: the factory is only needed by the test environment.
011 * The DeepaMehta Core obtains the storage as an OSGi service.
012 */
013public interface DeepaMehtaStorageFactory {
014
015    DeepaMehtaStorage newDeepaMehtaStorage(String databasePath, ModelFactory mf);
016}