Interface | Description |
---|---|
ConfigurationFactory<T> | |
ConfigurationFactoryFactory<T> | |
ConfigurationSourceProvider |
An interface for objects that can create an
InputStream to represent the application
configuration. |
Class | Description |
---|---|
BaseConfigurationFactory<T> |
A generic factory class for loading configuration files, binding them to configuration objects, and
validating their constraints.
|
ConfigurationMetadata |
A class to get metadata about the properties that are available in a configuration class.
|
DefaultConfigurationFactoryFactory<T> | |
EnvironmentVariableLookup |
A custom
StringLookup implementation using environment variables as lookup source. |
EnvironmentVariableSubstitutor |
A custom
StringSubstitutor using environment variables as lookup source. |
FileConfigurationSourceProvider |
An implementation of
ConfigurationSourceProvider that reads the configuration from the
local file system. |
JsonConfigurationFactory<T> |
A factory class for loading JSON configuration files, binding them to configuration objects, and
validating their constraints.
|
ResourceConfigurationSourceProvider |
An implementation of
ConfigurationSourceProvider which reads the configuration
from a resource file. |
SubstitutingSourceProvider |
A delegating
ConfigurationSourceProvider which replaces variables in the underlying configuration
source according to the rules of a custom StringSubstitutor . |
UrlConfigurationSourceProvider |
An implementation of
ConfigurationSourceProvider that reads the configuration from a
URL . |
YamlConfigurationFactory<T> |
A factory class for loading YAML configuration files, binding them to configuration objects, and
validating their constraints.
|
Exception | Description |
---|---|
ConfigurationException |
Base class for problems with a Configuration object.
|
ConfigurationParsingException |
A
ConfigurationException for errors parsing a configuration file. |
ConfigurationValidationException |
An exception thrown where there is an error validating a configuration object.
|
UndefinedEnvironmentVariableException |
Copyright © 2011. All rights reserved.