@Singleton @Primary public class DefaultCompositeConfigurationClient extends java.lang.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 |
---|---|
java.lang.String |
getDescription()
A description that describes this object.
|
org.reactivestreams.Publisher<PropertySource> |
getPropertySources(Environment environment)
Retrieves all of the
PropertySource registrations for the given environment. |
java.lang.String |
toString() |
public DefaultCompositeConfigurationClient(ConfigurationClient[] configurationClients)
configurationClients
- The configuration clientspublic java.lang.String getDescription()
Described
getDescription
in interface Described
public org.reactivestreams.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 environmentpublic java.lang.String toString()
toString
in class java.lang.Object