Class ConfigCacheImpl

    • Field Detail

      • logger

        protected static final Logger logger
        The logger.
    • Constructor Detail

      • ConfigCacheImpl

        public ConfigCacheImpl()
    • Method Detail

      • getPersistenceConfig

        public PersistenceConfig getPersistenceConfig​(Class pcClass)
        Get the PersistenceConfig for given pcClass. The config is looked up from a cache. If a config can not be found in cache, a new instance is created and returned.
        Specified by:
        getPersistenceConfig in interface ConfigCache
        Parameters:
        pcClass - The input pcClass.
        Returns:
        PersistenceConfig for given pcClass.
      • getClassByOidClass

        public Class getClassByOidClass​(Class oidType)
        Gets the Class instance corresponding to given oidType.
        Specified by:
        getClassByOidClass in interface ConfigCache
        Parameters:
        oidType - The input oidType.
        Returns:
        The Class instance corresponding to given oidType.