Configuration
interface.AbstractConfiguration
.AbstractConfiguration
that flexibly loads some kind of
resource, or uses a previously loaded one, to satisfy demands for
configuration property values.AbstractResourceLoadingConfiguration
.Supplier
of a particular kind of resource from which
configuration property values may be retrieved.ApplicationPropertiesConfiguration
.ConfigurationValue
s.callerCoordinates
and name
parameter values,
and a Collection
of ConfigurationValue
instances
that represents the ambiguous response from several Configuration
instances, attempts to resolve the ambiguity by
returning a single ConfigurationValue
instead.ambiguousValues
parameter value by selecting the
ConfigurationValue
whose associated source is ranked closer to
0
.true
if this ConfigurationValueSourceComparingArbiter
can effectively
arbitrate the conflict represented by the supplied Collection
of ambiguous ConfigurationValue
s.ComparatorBasedArbiter
.-1
if one
outranks two
, 1
if two
outranks one
, and 0
if the two objects are either ranked equally
or their ranks could not be determined.ConfigurationValue
s in configuration space.Map
of configuration coordinates for the current
application.AbstractConfiguration
conceptually housing only the
configuration property that returns a Map
-convertible
String
representing configuration coordinates for the
calling application.ConfigurationCoordinates
.Configurations
class that serves
as a single source for configuration values suitable for an
application.Configurations
.Configurations
.Configurations
.ConfigurationValueSourceComparingArbiter
.ConfigurationValueSourceComparingArbiter
.value
into an Object
of the
appropriate type.Converter
.AbstractConfiguration
providing access to environment variabes.EnvironmentVariablesConfiguration
.AbstractResourceLoadingConfiguration.getValue(Resource, Map,
String)
method.Comparator
used by this ComparatorBasedArbiter
implementation.RankedComparator
used by this ConfigurationValueSourceComparingArbiter
implementation.Object
that should be used to
determine ranking (as determined by the List
supplied at construction time).Map
of configuration
coordinates—aspects and their values that define a
location within which requests for configuration values may take
place.Configurations
installed on this AbstractConfiguration
implementation.null
, immutable Set
of Type
s representing all the types to which String
configuration values may be converted by the Converter
s loaded by this Configurations
object.Map
representing the configuration
coordinates for which this AbstractResourceLoadingConfiguration.Resource
can assist in
providing values.Set
of names of ConfigurationValue
s
that might be returned by this Configurations
instance.configurationCoordinates
and name
, or the supplied
defaultValue
if null
would otherwise be returned,
converted, if possible, to the type represented by the supplied
type
.configurationCoordinates
,
name
and defaultValue
parameters, as converted by
the supplied Converter
.ConfigurationValue
suitable for the supplied
configurationCoordinates
and name
, or null
if there is no suitable value.ConfigurationValue
suitable for the supplied
name
normally sourced in some fashion from the supplied
AbstractResourceLoadingConfiguration.Resource
, or null
if no such ConfigurationValue
can be found.ConfigurationValue
suitable for the supplied
configurationCoordinates
and name
, or null
if there is no suitable value.ConfigurationValue
representing the environment variable identified by the
supplied name
, or null
.ConfigurationValue
suitable for the supplied
name
normally sourced in some fashion from the supplied
AbstractResourceLoadingConfiguration.Resource
, or null
if no such ConfigurationValue
can be found.ConfigurationValue
representing the System property identified by
the supplied name
, or null
.ConfigurationValue
instances
received from Configuration
instances during the
execution of a configuration value request.AbstractResourceLoadingConfiguration.Resource
.value
and returns the result of interpolation.true
if the supplied name
is not null
and is one of the System
properties guaranteed by the Java Language Specification to exist
on every available Java platform.Collection
of Arbiter
objects and returns
it.Collection
of Configuration
objects and
returns it.Collection
of Converter
objects and
returns it.ConfigurationException
that indicates that a suitable Converter
could not be found
for a given Type
.NoSuchConverterException
.NoSuchConverterException
.NoSuchConverterException
.Converter
interface included as
part of the MicroBean Configuration framework.configurationCoordinates
and name
parameter
values, and a Collection
of ConfigurationValue
instances that represents the ambiguous response from several
Configuration
instances, attempts to resolve the
ambiguity by returning a single ConfigurationValue
instead.AbstractResourceLoadingConfiguration
that gets configuration property
values from Properties
resources.PropertiesConfiguration
.Comparator
that ranks other objects for comparison
purposes.RankedComparator
.RankedComparator
.true
if this RankedComparator
explicitly
ranks the supplied object.AbstractResourceLoadingConfiguration.Resource
.Configurations
on this AbstractConfiguration
implementation.Configurations
object into this Configuration
implementation.AbstractConfiguration
that houses System properties and hence, by definition,
minimally specific
ConfigurationValue
s representing them.SystemPropertiesConfiguration
.SystemPropertiesOutrankEnvironmentVariablesArbiter
.Copyright © 2017–2019, microBean. All rights reserved.