Package org.datanucleus.store
Class StoreManagerHelper
- java.lang.Object
-
- org.datanucleus.store.StoreManagerHelper
-
public class StoreManagerHelper extends java.lang.ObjectHelper methods for StoreManager operations.
-
-
Field Summary
Fields Modifier and Type Field Description (package private) static java.lang.Class[]STORE_MGR_CTR_ARG_TYPES
-
Constructor Summary
Constructors Constructor Description StoreManagerHelper()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StoreManagercreateStoreManagerForProperties(java.util.Map<java.lang.String,java.lang.Object> props, java.util.Map<java.lang.String,java.lang.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(java.util.Map<java.lang.String,java.lang.Object> props, java.util.Map<java.lang.String,java.lang.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?)
-
-