org.sape.carbon.core.config |
The configuration package provides the core infrastructure and the service
interfaces for the configuration of components and non-component clients. This
service provides type-safe access to values that may be stored in any number
of external stores and the automated control and persistance of that data. The
core config package is delivered default with the capability to store data into
XML files on a file system.
This service is designed in such a way that their is two plug points for
alteration. The repository and persistence engine can each be replaced seperate
of each other.
|
Java Source File Name | Type | Comment |
Config.java | Class |
Config implements a static singleton pattern to provide
a single point of access for configuration data. |
Configuration.java | Interface | This interface represents the base of a bit of configuration. |
ConfigurationAccessException.java | Class | This exception is thrown to wrap internal configuration exceptions in
a runtime exception that can optionally be caught by developers. |
ConfigurationException.java | Class | This abstract exception is the base exception for exceptions that occur
within the Carbon Configuration Service. |
ConfigurationInitializtionException.java | Class | This exception is thrown when the configuration service cannot be
initialized. |
ConfigurationNotFoundException.java | Class | |
ConfigurationRuntimeException.java | Class | |
ConfigurationService.java | Interface |
The ConfigurationService provides access to a heirarchy of nodes
that contain Configuration data. |
ConfigurationServiceFactory.java | Interface | |
ConfigurationStoreException.java | Class | |
DefaultConfigurationServiceFactory.java | Class | Default implementation of ConfigurationServiceFactory, returns an instance
of DefaultRootConfigurationService. |
DefaultRootConfigurationService.java | Class | Implementation of RootConfigurationService that traverses
the node tree to fetch and store configuration data. |
InvalidConfigurationException.java | Class | This exception is utilized to relate that a supplied configuration
is invalid or could not be found. |
PropertyConfiguration.java | Interface | This is the base interface for buisiness Configuration objects.
This type of configuration should be used to define configurations that are
not interfaced through a strongly-typed Java interface. |