@Singleton @Primary public class DefaultCompositeConfigurationClient extends Object implements ConfigurationClient
ConfigurationClient
implementation.CONFIGURATION_PREFIX, ENABLED, READ_TIMEOUT
Constructor and Description |
---|
DefaultCompositeConfigurationClient(ConfigurationClient[] configurationClients)
Create a default composite configuration client from given configuration clients.
|
Modifier and Type | Method and Description |
---|---|
String |
getDescription()
A description that describes this object.
|
Publisher<PropertySource> |
getPropertySources(Environment environment)
Retrieves all of the
PropertySource registrations for the given environment. |
String |
toString() |
public DefaultCompositeConfigurationClient(ConfigurationClient[] configurationClients)
configurationClients
- The configuration clientspublic String getDescription()
Described
getDescription
in interface Described
public Publisher<PropertySource> getPropertySources(Environment environment)
ConfigurationClient
PropertySource
registrations for the given environment.getPropertySources
in interface ConfigurationClient
environment
- The environmentPublisher
that emits zero or many PropertySource
instances discovered for the given environment