public class ConsulAutoServiceRegistrationListener extends Object implements org.springframework.context.event.SmartApplicationListener
| Constructor and Description |
|---|
ConsulAutoServiceRegistrationListener(ConsulAutoServiceRegistration autoServiceRegistration) |
| Modifier and Type | Method and Description |
|---|---|
int |
getOrder() |
void |
onApplicationEvent(org.springframework.context.ApplicationEvent applicationEvent) |
boolean |
supportsEventType(Class<? extends org.springframework.context.ApplicationEvent> eventType) |
boolean |
supportsSourceType(Class<?> sourceType) |
public ConsulAutoServiceRegistrationListener(ConsulAutoServiceRegistration autoServiceRegistration)
public boolean supportsEventType(Class<? extends org.springframework.context.ApplicationEvent> eventType)
supportsEventType in interface org.springframework.context.event.SmartApplicationListenerpublic boolean supportsSourceType(Class<?> sourceType)
supportsSourceType in interface org.springframework.context.event.SmartApplicationListenerpublic void onApplicationEvent(org.springframework.context.ApplicationEvent applicationEvent)
onApplicationEvent in interface org.springframework.context.ApplicationListener<org.springframework.context.ApplicationEvent>public int getOrder()
getOrder in interface org.springframework.context.event.SmartApplicationListenergetOrder in interface org.springframework.core.OrderedCopyright © 2020 Pivotal Software, Inc.. All rights reserved.