Class ConsulConfigServerBootstrapper
java.lang.Object
org.springframework.cloud.consul.discovery.configclient.ConsulConfigServerBootstrapper
- All Implemented Interfaces:
org.springframework.boot.BootstrapRegistryInitializer
public class ConsulConfigServerBootstrapper
extends Object
implements org.springframework.boot.BootstrapRegistryInitializer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidinitialize(org.springframework.boot.BootstrapRegistry registry) static booleanisDiscoveryEnabled(org.springframework.boot.BootstrapContext bootstrapContext)
-
Constructor Details
-
ConsulConfigServerBootstrapper
public ConsulConfigServerBootstrapper()
-
-
Method Details
-
initialize
public void initialize(org.springframework.boot.BootstrapRegistry registry) - Specified by:
initializein interfaceorg.springframework.boot.BootstrapRegistryInitializer
-
isDiscoveryEnabled
public static boolean isDiscoveryEnabled(org.springframework.boot.BootstrapContext bootstrapContext)
-