@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() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetDescriptionpublic DefaultCompositeConfigurationClient(ConfigurationClient[] configurationClients)
configurationClients - The configuration clientspublic String getDescription()
DescribedgetDescription in interface Describedpublic Publisher<PropertySource> getPropertySources(Environment environment)
ConfigurationClientPropertySource registrations for the given environment.getPropertySources in interface ConfigurationClientenvironment - The environmentPublisher that emits zero or many PropertySource instances discovered for the given environment