public class ConfigLoader extends Object
cfg.xml
files.Constructor and Description |
---|
ConfigLoader(BootstrapServiceRegistry bootstrapServiceRegistry) |
Modifier and Type | Method and Description |
---|---|
LoadedConfig |
loadConfigXmlFile(File cfgXmlFile) |
LoadedConfig |
loadConfigXmlResource(String cfgXmlResourceName) |
LoadedConfig |
loadConfigXmlUrl(URL url) |
Properties |
loadProperties(File file) |
Properties |
loadProperties(String resourceName) |
public ConfigLoader(BootstrapServiceRegistry bootstrapServiceRegistry)
public LoadedConfig loadConfigXmlResource(String cfgXmlResourceName)
public LoadedConfig loadConfigXmlFile(File cfgXmlFile)
public LoadedConfig loadConfigXmlUrl(URL url)
public Properties loadProperties(String resourceName)
public Properties loadProperties(File file)
Copyright © 2017 JBoss by Red Hat. All rights reserved.