public class RegistrationApplicationListener extends Object
| Constructor and Description |
|---|
RegistrationApplicationListener(ApplicationRegistrator registrator,
org.springframework.scheduling.TaskScheduler taskScheduler) |
| Modifier and Type | Method and Description |
|---|---|
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(long registerPeriod) |
void |
startRegisterTask() |
void |
stopRegisterTask() |
public RegistrationApplicationListener(ApplicationRegistrator registrator, org.springframework.scheduling.TaskScheduler taskScheduler)
@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(long registerPeriod)
Copyright © 2016 codecentric AG. All rights reserved.