Package org.intermine.objectstore
Class ObjectStoreFactory
- java.lang.Object
-
- org.intermine.objectstore.ObjectStoreFactory
-
public final class ObjectStoreFactory extends java.lang.Object
Produce ObjectStores- Author:
- Mark Woodbridge
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ObjectStore
getObjectStore(java.lang.String alias)
Return an ObjectStore configured using properties
-
-
-
Method Detail
-
getObjectStore
public static ObjectStore getObjectStore(java.lang.String alias) throws java.lang.Exception
Return an ObjectStore configured using properties- Parameters:
alias
- the relevant prefix for the properties- Returns:
- a new ObjectStore
- Throws:
java.lang.Exception
- if an error occurs in instantiating the ObjectStore
-
-