Package org.datanucleus.store
Class StoreManagerHelper
- java.lang.Object
-
- org.datanucleus.store.StoreManagerHelper
-
public class StoreManagerHelper extends Object
Helper methods for StoreManager operations.
-
-
Constructor Summary
Constructors Constructor Description StoreManagerHelper()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StoreManager
createStoreManagerForProperties(Map<String,Object> props, Map<String,Object> datastoreProps, ClassLoaderResolver clr, NucleusContext nucCtx)
Method to create a StoreManager based on the specified properties passed in.
-
-
-
Method Detail
-
createStoreManagerForProperties
public static StoreManager createStoreManagerForProperties(Map<String,Object> props, Map<String,Object> datastoreProps, ClassLoaderResolver clr, NucleusContext nucCtx)
Method to create a StoreManager based on the specified properties passed in.- Parameters:
props
- The overall persistence propertiesdatastoreProps
- Persistence properties to apply to the datastoreclr
- ClassLoader resolvernucCtx
- NucleusContext- Returns:
- The StoreManager
- Throws:
NucleusUserException
- if impossible to create the StoreManager (not in CLASSPATH?, invalid definition?)
-
-