public class LoadedConfig extends Object
cfg.xml
file.
A LoadedConfig is built via consume(org.hibernate.boot.jaxb.cfg.spi.JaxbCfgHibernateConfiguration)
. An aggregated representation
can be maintained through calls to merge(org.hibernate.boot.cfgxml.spi.LoadedConfig)
public String getSessionFactoryName()
public Map getConfigurationValues()
public Map<String,JaccPermissionDeclarations> getJaccPermissionsByContextId()
public JaccPermissionDeclarations getJaccPermissions(String jaccContextId)
public List<CacheRegionDefinition> getCacheRegionDefinitions()
public List<MappingReference> getMappingReferences()
public static LoadedConfig consume(JaxbCfgHibernateConfiguration jaxbCfg)
cfg.xml
file and builds the
LoadedConfig representation.jaxbCfg
- The JAXB representation of a cfg.xml
filepublic void addCacheRegionDefinition(CacheRegionDefinition cacheRegionDefinition)
public JaccPermissionDeclarations getOrCreateJaccPermissions(String contextId)
public void merge(LoadedConfig incoming)
cfg.xml
represented by the incoming parameter
into this LoadedConfig representationincoming
- The incoming config information to merge in.public static LoadedConfig baseline()
Copyright © 2019 JBoss by Red Hat. All rights reserved.