public class RestartApplicationListener extends Object implements org.springframework.context.ApplicationListener<org.springframework.context.ApplicationEvent>, org.springframework.core.Ordered
ApplicationListener to initialize the Restarter.Restarter| Constructor and Description |
|---|
RestartApplicationListener() |
| Modifier and Type | Method and Description |
|---|---|
int |
getOrder() |
void |
onApplicationEvent(org.springframework.context.ApplicationEvent event) |
void |
setOrder(int order)
Set the order of the listener.
|
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.Orderedpublic void setOrder(int order)
order - the order of the listenerCopyright © 2020 Pivotal Software, Inc.. All rights reserved.