public interface Configurator
| Modifier and Type | Method and Description |
|---|---|
boolean |
accept()
Returns true if this configurator accepts the responsiblity of providing
configuration information for the application.
|
org.apache.commons.configuration.Configuration |
provideConfiguration(String configName,
Long refreshDelay)
Provides the actual application configuration.
|
boolean accept()
org.apache.commons.configuration.Configuration provideConfiguration(String configName, Long refreshDelay) throws org.apache.commons.configuration.ConfigurationException
configName - the name of the config - e.g. used to lookup a properties filerefreshDelay - how often the properties are reloadedorg.apache.commons.configuration.ConfigurationExceptionCopyright © 2013-2014 JBoss, a division of Red Hat. All Rights Reserved.