public interface ConfigurationClient
extends io.micronaut.core.naming.Described
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CONFIGURATION_PREFIX
The prefix used to configure the config client.
|
static java.lang.String |
ENABLED
Whether the configuration client, responsible for reading configuration for configuration servers, is enabled.
|
static java.lang.String |
READ_TIMEOUT
The read timeout used when reading distributed configuration.
|
Modifier and Type | Method and Description |
---|---|
org.reactivestreams.Publisher<io.micronaut.context.env.PropertySource> |
getPropertySources(io.micronaut.context.env.Environment environment)
Retrieves all of the
PropertySource registrations for the given environment. |
static final java.lang.String CONFIGURATION_PREFIX
static final java.lang.String ENABLED
static final java.lang.String READ_TIMEOUT
org.reactivestreams.Publisher<io.micronaut.context.env.PropertySource> getPropertySources(io.micronaut.context.env.Environment environment)
PropertySource
registrations for the given environment.environment
- The environmentPublisher
that emits zero or many PropertySource
instances discovered for the given environment