public interface Configurable
Modifier and Type | Method and Description |
---|---|
void |
configure(ConfigurationReader reader)
Configures the Configurable using the configuration obtained by the
provided configuration reader
|
java.util.List<java.lang.String> |
documentConfiguration()
The components documentation of how it was configured.
|
java.util.Map<java.lang.String,java.lang.String> |
getDefaults()
Returns the default parameters that the configurable has defined for itself
Should be invoked by the configuration reader before it possibly overrides
some parameters obtained from the external configuration source
|
java.lang.String |
getModuleName()
Returns the name of the module, can be used by a configuration reader that
distinguishes between sets of configuration properties by component name, a
name space of sorts.
|
void configure(ConfigurationReader reader) throws ConfigurationException
reader
- used for reading the configurationConfigurationException
java.util.Map<java.lang.String,java.lang.String> getDefaults()
java.lang.String getModuleName()
java.util.List<java.lang.String> documentConfiguration()