Class ConfigLoader
- java.lang.Object
- org.hibernate.boot.cfgxml.internal.ConfigLoader
public classConfigLoaderextendsObject
Loadscfg.xmlfiles.
Constructor Summary
Constructors Constructor Description ConfigLoader(BootstrapServiceRegistry bootstrapServiceRegistry)
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LoadedConfigloadConfigXmlFile(File cfgXmlFile)LoadedConfigloadConfigXmlResource(String cfgXmlResourceName)LoadedConfigloadConfigXmlUrl(URL url)PropertiesloadProperties(File file)PropertiesloadProperties(String resourceName)
Constructor Detail
ConfigLoader
public ConfigLoader(BootstrapServiceRegistry bootstrapServiceRegistry)
Method Detail
loadConfigXmlResource
public LoadedConfig loadConfigXmlResource(String cfgXmlResourceName)
loadConfigXmlFile
public LoadedConfig loadConfigXmlFile(File cfgXmlFile)
loadConfigXmlUrl
public LoadedConfig loadConfigXmlUrl(URL url)
loadProperties
public Properties loadProperties(String resourceName)
loadProperties
public Properties loadProperties(File file)