Interface ConfigurationClient

All Superinterfaces:
io.micronaut.core.naming.Described
All Known Implementing Classes:
DefaultCompositeConfigurationClient

public interface ConfigurationClient extends io.micronaut.core.naming.Described
A Configuration client is responsible for reading configuration for configuration servers.
Since:
1.0
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    The prefix used to configure the config client.
    static final String
    Whether the configuration client, responsible for reading configuration for configuration servers, is enabled.
    static final String
    The read timeout used when reading distributed configuration.
  • Method Summary

    Modifier and Type
    Method
    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.

    Methods inherited from interface io.micronaut.core.naming.Described

    getDescription, getDescription
  • Field Details

    • CONFIGURATION_PREFIX

      static final String CONFIGURATION_PREFIX
      The prefix used to configure the config client.
      See Also:
    • ENABLED

      static final String ENABLED
      Whether the configuration client, responsible for reading configuration for configuration servers, is enabled.
      See Also:
    • READ_TIMEOUT

      static final String READ_TIMEOUT
      The read timeout used when reading distributed configuration.
      See Also:
  • Method Details

    • getPropertySources

      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.
      Parameters:
      environment - The environment
      Returns:
      A Publisher that emits zero or many PropertySource instances discovered for the given environment