@ConditionalOnClass(value={com.netflix.discovery.DiscoveryClient.class,org.springframework.cloud.config.client.ConfigServicePropertySourceLocator.class}) @Configuration @EnableDiscoveryClient @Import(value=EurekaClientAutoConfiguration.class) public class DiscoveryClientConfigServiceBootstrapConfiguration extends Object implements org.springframework.context.event.SmartApplicationListener
Constructor and Description |
---|
DiscoveryClientConfigServiceBootstrapConfiguration() |
Modifier and Type | Method and Description |
---|---|
int |
getOrder() |
void |
onApplicationEvent(org.springframework.context.ApplicationEvent event) |
boolean |
supportsEventType(Class<? extends org.springframework.context.ApplicationEvent> eventType) |
boolean |
supportsSourceType(Class<?> sourceType) |
public DiscoveryClientConfigServiceBootstrapConfiguration()
public void onApplicationEvent(org.springframework.context.ApplicationEvent event)
onApplicationEvent
in interface org.springframework.context.ApplicationListener<org.springframework.context.ApplicationEvent>
public int getOrder()
getOrder
in interface org.springframework.core.Ordered
public boolean supportsEventType(Class<? extends org.springframework.context.ApplicationEvent> eventType)
supportsEventType
in interface org.springframework.context.event.SmartApplicationListener
public boolean supportsSourceType(Class<?> sourceType)
supportsSourceType
in interface org.springframework.context.event.SmartApplicationListener
Copyright © 2016 Pivotal Software, Inc.. All rights reserved.