public class JndiConfigurator extends Object implements Configurator
| Constructor and Description |
|---|
JndiConfigurator()
Constructor.
|
| 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.
|
public boolean accept()
Configuratoraccept in interface ConfiguratorConfigurator.accept()public org.apache.commons.configuration.Configuration provideConfiguration(String configName, Long refreshDelay) throws org.apache.commons.configuration.ConfigurationException
ConfiguratorprovideConfiguration in interface ConfiguratorconfigName - the name of the config - e.g. used to lookup a properties filerefreshDelay - how often the properties are reloadedorg.apache.commons.configuration.ConfigurationExceptionConfigurator.provideConfiguration(java.lang.String, java.lang.Long)Copyright © 2013–2015 JBoss, a division of Red Hat. All rights reserved.