Package org.mycore.datamodel.ifs2
Class MCRStoreManager
java.lang.Object
org.mycore.datamodel.ifs2.MCRStoreManager
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T extends MCRStore>
TcreateStore
(String id, Class<T> storeClass) static <T extends MCRStore>
TcreateStore
(MCRStore.MCRStoreConfig config, Class<T> storeClass) static <T extends MCRStore>
TReturns the store with the given idstatic <T extends MCRStore>
TDeprecated.static void
removeStore
(String id)
-
Constructor Details
-
MCRStoreManager
public MCRStoreManager()
-
-
Method Details
-
createStore
public static <T extends MCRStore> T createStore(String id, Class<T> storeClass) throws ReflectiveOperationException - Throws:
ReflectiveOperationException
-
createStore
public static <T extends MCRStore> T createStore(MCRStore.MCRStoreConfig config, Class<T> storeClass) throws ReflectiveOperationException - Throws:
ReflectiveOperationException
-
getStore
Returns the store with the given id- Parameters:
id
- the ID of the store
-
getStore
Deprecated.usegetStore(String)
instead -
removeStore
-
getStore(String)
instead