public interface IndyConfigFactory
IndyConfiguration.| Modifier and Type | Field and Description |
|---|---|
static String |
APROX_CONFIG_DIR_PROP
Deprecated.
|
static String |
APROX_CONFIG_PATH_PROP
Deprecated.
|
static String |
APROX_HOME_PROP
Deprecated.
|
static String |
CONFIG_DIR_PROP |
static String |
CONFIG_PATH_PROP |
static String |
DEFAULT_CONFIG_DIR |
static String |
DEFAULT_CONFIG_PATH |
static String |
INDY_HOME_PROP |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
getConfiguration(Class<T> configCls)
Return the configuration instance corresponding to the given class.
|
void |
load(String config)
Read all configurations and apply them to the different configuration-class instances available.
|
void |
writeDefaultConfigs(File dir)
Query all configuration modules for their default configuration files and content, and write them to the specified configuration directory
structure.
|
static final String INDY_HOME_PROP
static final String CONFIG_PATH_PROP
static final String CONFIG_DIR_PROP
@Deprecated static final String APROX_HOME_PROP
@Deprecated static final String APROX_CONFIG_PATH_PROP
@Deprecated static final String APROX_CONFIG_DIR_PROP
static final String DEFAULT_CONFIG_DIR
static final String DEFAULT_CONFIG_PATH
<T> T getConfiguration(Class<T> configCls) throws org.commonjava.web.config.ConfigurationException
org.commonjava.web.config.ConfigurationExceptionvoid load(String config) throws org.commonjava.web.config.ConfigurationException
writeDefaultConfigs(File) will be called.config - Most commonly, a path to a configuration file.org.commonjava.web.config.ConfigurationExceptionvoid writeDefaultConfigs(File dir) throws org.commonjava.web.config.ConfigurationException
dir - The directory into which default configurations should be written.org.commonjava.web.config.ConfigurationExceptionCopyright © 2011-2018-2018. All Rights Reserved.