public interface Configuration extends Serializable
Modifier and Type | Method and Description |
---|---|
void |
addPackageConfig(String name,
PackageConfig packageConfig) |
void |
destroy()
Allow the Configuration to clean up any resources that have been used.
|
Container |
getContainer() |
Set<String> |
getLoadedFileNames() |
PackageConfig |
getPackageConfig(String name) |
Set<String> |
getPackageConfigNames() |
Map<String,PackageConfig> |
getPackageConfigs() |
RuntimeConfiguration |
getRuntimeConfiguration()
The current runtime configuration.
|
List<UnknownHandlerConfig> |
getUnknownHandlerStack() |
void |
rebuildRuntimeConfiguration() |
List<PackageProvider> |
reloadContainer(List<ContainerProvider> containerProviders) |
PackageConfig |
removePackageConfig(String packageName)
Removes a package from the the list of packages.
|
void |
setUnknownHandlerStack(List<UnknownHandlerConfig> unknownHandlerStack) |
void rebuildRuntimeConfiguration()
PackageConfig getPackageConfig(String name)
Map<String,PackageConfig> getPackageConfigs()
RuntimeConfiguration getRuntimeConfiguration()
void addPackageConfig(String name, PackageConfig packageConfig)
PackageConfig removePackageConfig(String packageName)
packageName
- the name of the package to removevoid destroy()
List<PackageProvider> reloadContainer(List<ContainerProvider> containerProviders) throws ConfigurationException
containerProviders
- list of container providersConfigurationException
- in case of any configuration errorsContainer getContainer()
List<UnknownHandlerConfig> getUnknownHandlerStack()
void setUnknownHandlerStack(List<UnknownHandlerConfig> unknownHandlerStack)
unknownHandlerStack
- list of unknown handlersCopyright © 2000–2024 Apache Software Foundation. All rights reserved.