Class StoreManagerHelper

java.lang.Object
org.datanucleus.store.StoreManagerHelper

public class StoreManagerHelper extends Object
Helper methods for StoreManager operations.
  • Field Details

    • STORE_MGR_CTR_ARG_TYPES

      static Class[] 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 properties
      datastoreProps - Persistence properties to apply to the datastore
      clr - ClassLoader resolver
      nucCtx - NucleusContext
      Returns:
      The StoreManager
      Throws:
      NucleusUserException - if impossible to create the StoreManager (not in CLASSPATH?, invalid definition?)