public class ConfigViewFactory extends Object
Constructor and Description |
---|
ConfigViewFactory(Properties properties) |
ConfigViewFactory(Properties properties,
Map<String,String> environment) |
ConfigViewFactory(Properties properties,
Map<String,String> environment,
ConfigLocator... locators) |
Modifier and Type | Method and Description |
---|---|
void |
addLocator(ConfigLocator locator) |
static ConfigViewFactory |
defaultFactory() |
static ConfigViewFactory |
defaultFactory(Properties properties,
Map<String,String> environment) |
ConfigViewImpl |
get() |
ConfigViewImpl |
get(boolean activate) |
ConfigViewFactory |
load(String profileName) |
void |
load(String profileName,
URL url) |
void |
withFilter(ConfigurationFilter filter) |
void |
withProfile(String name) |
void |
withProperty(String name,
String value) |
public ConfigViewFactory(Properties properties)
public ConfigViewFactory(Properties properties, Map<String,String> environment)
public ConfigViewFactory(Properties properties, Map<String,String> environment, ConfigLocator... locators)
public static ConfigViewFactory defaultFactory() throws ModuleLoadException
ModuleLoadException
public static ConfigViewFactory defaultFactory(Properties properties, Map<String,String> environment) throws ModuleLoadException
ModuleLoadException
public void addLocator(ConfigLocator locator)
public ConfigViewFactory load(String profileName)
public void load(String profileName, URL url) throws IOException
IOException
public ConfigViewImpl get()
public ConfigViewImpl get(boolean activate)
public void withProfile(String name)
public void withFilter(ConfigurationFilter filter)
Copyright © 2018 JBoss by Red Hat. All rights reserved.