|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.avalon.phoenix.components.configuration.DefaultConfigurationRepository
Repository from which all configuration data is retrieved.
Field Summary |
Fields inherited from interface org.apache.avalon.phoenix.interfaces.ConfigurationRepository |
ROLE |
Constructor Summary | |
DefaultConfigurationRepository()
|
Method Summary | |
Configuration |
getConfiguration(String application,
String block)
Retrieve configuration information from the repository |
boolean |
hasConfiguration(String application,
String block)
Check to see if the repository has configuration information for the specified application and block |
void |
removeConfiguration(String application,
String block)
Remove configuration information in the repository |
void |
storeConfiguration(String application,
String block,
Configuration configuration)
Store configuration information in the repository |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DefaultConfigurationRepository()
Method Detail |
public void storeConfiguration(String application, String block, Configuration configuration) throws ConfigurationException
ConfigurationRepository
storeConfiguration
in interface ConfigurationRepository
application
- Application nameblock
- Block name to store configuration forconfiguration
- information to store.
ConfigurationException
public void removeConfiguration(String application, String block) throws ConfigurationException
ConfigurationRepository
removeConfiguration
in interface ConfigurationRepository
application
- Application nameblock
- Block name to store configuration for
ConfigurationException
public Configuration getConfiguration(String application, String block) throws ConfigurationException
ConfigurationRepository
getConfiguration
in interface ConfigurationRepository
application
- Application nameblock
- Block name to get configuration for
ConfigurationException
public boolean hasConfiguration(String application, String block)
ConfigurationRepositoryMBean
hasConfiguration
in interface ConfigurationRepositoryMBean
application
- Application nameblock
- Block name to check configuration for
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |