Class StoreManagerHelper
java.lang.Object
org.datanucleus.store.StoreManagerHelper
Helper methods for StoreManager operations.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StoreManagercreateStoreManagerForProperties(Map<String, Object> props, Map<String, Object> datastoreProps, ClassLoaderResolver clr, NucleusContext nucCtx) Method to create a StoreManager based on the specified properties passed in.
-
Field Details
-
STORE_MGR_CTR_ARG_TYPES
-
-
Constructor Details
-
StoreManagerHelper
public StoreManagerHelper()
-
-
Method Details
-
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?)
-