public class RegistrationApplicationListener extends Object implements org.springframework.beans.factory.InitializingBean, org.springframework.beans.factory.DisposableBean
| Constructor and Description |
|---|
RegistrationApplicationListener(ApplicationRegistrator registrator) |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet() |
void |
destroy() |
void |
onApplicationReady(org.springframework.boot.context.event.ApplicationReadyEvent event) |
void |
onClosedContext(org.springframework.context.event.ContextClosedEvent event) |
void |
setAutoDeregister(boolean autoDeregister) |
void |
setAutoRegister(boolean autoRegister) |
void |
setRegisterPeriod(Duration registerPeriod) |
void |
startRegisterTask() |
void |
stopRegisterTask() |
public RegistrationApplicationListener(ApplicationRegistrator registrator)
@EventListener @Order(value=2147483647) public void onApplicationReady(org.springframework.boot.context.event.ApplicationReadyEvent event)
@EventListener @Order(value=2147483647) public void onClosedContext(org.springframework.context.event.ContextClosedEvent event)
public void startRegisterTask()
public void stopRegisterTask()
public void setAutoDeregister(boolean autoDeregister)
public void setAutoRegister(boolean autoRegister)
public void setRegisterPeriod(Duration registerPeriod)
public void afterPropertiesSet()
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanpublic void destroy()
destroy in interface org.springframework.beans.factory.DisposableBeanCopyright © 2020 codecentric AG. All rights reserved.