Class SpringCloudConfigurationClient

java.lang.Object
io.micronaut.discovery.spring.config.SpringCloudConfigurationClient
All Implemented Interfaces:
io.micronaut.core.naming.Described, io.micronaut.discovery.config.ConfigurationClient

@Singleton @Requires(beans=SpringCloudClientConfiguration.class) public class SpringCloudConfigurationClient extends Object implements io.micronaut.discovery.config.ConfigurationClient
A ConfigurationClient for Spring Cloud client.
Since:
1.0
Author:
Thiago Locatelli, graemerocher
  • Constructor Details

    • SpringCloudConfigurationClient

      protected SpringCloudConfigurationClient(SpringCloudConfigClient springCloudConfigClient, SpringCloudClientConfiguration springCloudConfiguration, io.micronaut.runtime.ApplicationConfiguration applicationConfiguration, @Named("io") @Nullable @Nullable ExecutorService executionService)
      Parameters:
      springCloudConfigClient - The Spring Cloud client
      springCloudConfiguration - The Spring Cloud configuration
      applicationConfiguration - The application configuration
      executionService - The executor service to use
  • Method Details

    • getPropertySources

      public org.reactivestreams.Publisher<io.micronaut.context.env.PropertySource> getPropertySources(io.micronaut.context.env.Environment environment)
      Specified by:
      getPropertySources in interface io.micronaut.discovery.config.ConfigurationClient
    • getDescription

      @NonNull public final @NonNull String getDescription()
      Specified by:
      getDescription in interface io.micronaut.core.naming.Described