Class LoadedConfig
java.lang.Object
org.hibernate.boot.cfgxml.spi.LoadedConfig
Models the information gleaned from parsing a
cfg.xml file.
A LoadedConfig is built via consume(JaxbCfgHibernateConfiguration). An aggregated
representation can be maintained through calls to merge(LoadedConfig).
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddCacheRegionDefinition(CacheRegionDefinition cacheRegionDefinition) protected voidaddConfigurationValues(Map<String, Object> configurationValues) voidaddEventListener(EventType<?> eventType, String listenerClass) static LoadedConfigbaseline()static LoadedConfigconsume(org.hibernate.boot.jaxb.cfg.spi.JaxbCfgHibernateConfiguration jaxbCfg) Consumes the JAXB representation of acfg.xmlfile and builds the LoadedConfig representation.voidmerge(LoadedConfig incoming) Merge information from loaded acfg.xmlrepresented by the incoming parameter into this LoadedConfig representation
-
Constructor Details
-
LoadedConfig
-
-
Method Details
-
getSessionFactoryName
-
getConfigurationValues
-
getCacheRegionDefinitions
-
getMappingReferences
-
getEventListenerMap
-
consume
public static LoadedConfig consume(org.hibernate.boot.jaxb.cfg.spi.JaxbCfgHibernateConfiguration jaxbCfg) Consumes the JAXB representation of acfg.xmlfile and builds the LoadedConfig representation.- Parameters:
jaxbCfg- The JAXB representation of acfg.xmlfile- Returns:
- The parsed representation
-
addCacheRegionDefinition
-
addEventListener
-
merge
Merge information from loaded acfg.xmlrepresented by the incoming parameter into this LoadedConfig representation- Parameters:
incoming- The incoming config information to merge in.
-
addConfigurationValues
-
baseline
-