Class StoreManagerHelper


  • public class StoreManagerHelper
    extends java.lang.Object
    Helper methods for StoreManager operations.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) static java.lang.Class[] STORE_MGR_CTR_ARG_TYPES  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • STORE_MGR_CTR_ARG_TYPES

        static java.lang.Class[] STORE_MGR_CTR_ARG_TYPES
    • Constructor Detail

      • StoreManagerHelper

        public StoreManagerHelper()
    • 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 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?)