public class RestartApplicationListener extends Object implements ApplicationListener<ApplicationEvent>, Ordered
ApplicationListener to initialize the Restarter.RestarterHIGHEST_PRECEDENCE, LOWEST_PRECEDENCE| Constructor and Description |
|---|
RestartApplicationListener() |
| Modifier and Type | Method and Description |
|---|---|
int |
getOrder() |
void |
onApplicationEvent(ApplicationEvent event) |
void |
setOrder(int order)
Set the order of the listener.
|
public void onApplicationEvent(ApplicationEvent event)
onApplicationEvent in interface ApplicationListener<ApplicationEvent>public void setOrder(int order)
order - the order of the listenerCopyright © 2018 Pivotal Software, Inc.. All rights reserved.