Class ConsulBootstrapper

java.lang.Object
org.springframework.cloud.consul.config.ConsulBootstrapper
All Implemented Interfaces:
org.springframework.boot.BootstrapRegistryInitializer

public class ConsulBootstrapper extends Object implements org.springframework.boot.BootstrapRegistryInitializer
  • Constructor Details

    • ConsulBootstrapper

      public ConsulBootstrapper()
  • Method Details

    • withConsulClientFactory

      public ConsulBootstrapper withConsulClientFactory(Function<org.springframework.boot.BootstrapContext,com.ecwid.consul.v1.ConsulClient> consulClientFactory)
    • withLoaderInterceptor

      public ConsulBootstrapper withLoaderInterceptor(ConsulBootstrapper.LoaderInterceptor loaderInterceptor)
    • initialize

      public void initialize(org.springframework.boot.BootstrapRegistry registry)
      Specified by:
      initialize in interface org.springframework.boot.BootstrapRegistryInitializer