Class LoadedConfig

    • Constructor Detail

      • LoadedConfig

        public LoadedConfig​(java.lang.String sessionFactoryName)
    • Method Detail

      • getSessionFactoryName

        public java.lang.String getSessionFactoryName()
      • getConfigurationValues

        public java.util.Map getConfigurationValues()
      • getJaccPermissionsByContextId

        @Deprecated
        public java.util.Map<java.lang.String,​JaccPermissionDeclarations> getJaccPermissionsByContextId()
        Deprecated.
        Support for JACC will be removed in 6.0
      • getJaccPermissions

        @Deprecated
        public JaccPermissionDeclarations getJaccPermissions​(java.lang.String jaccContextId)
        Deprecated.
        Support for JACC will be removed in 6.0
      • getMappingReferences

        public java.util.List<MappingReference> getMappingReferences()
      • getEventListenerMap

        public java.util.Map<EventType,​java.util.Set<java.lang.String>> getEventListenerMap()
      • consume

        public static LoadedConfig consume​(JaxbCfgHibernateConfiguration jaxbCfg)
        Consumes the JAXB representation of a cfg.xml file and builds the LoadedConfig representation.
        Parameters:
        jaxbCfg - The JAXB representation of a cfg.xml file
        Returns:
        The parsed representation
      • addCacheRegionDefinition

        public void addCacheRegionDefinition​(CacheRegionDefinition cacheRegionDefinition)
      • addEventListener

        public void addEventListener​(EventType eventType,
                                     java.lang.String listenerClass)
      • merge

        public void merge​(LoadedConfig incoming)
        Merge information from loaded a cfg.xml represented by the incoming parameter into this LoadedConfig representation
        Parameters:
        incoming - The incoming config information to merge in.
      • addConfigurationValues

        protected void addConfigurationValues​(java.util.Map configurationValues)