public class ApplicationLifeCycle extends Object implements org.springframework.context.ApplicationListener<org.springframework.context.event.ContextClosedEvent>
| Constructor and Description |
|---|
ApplicationLifeCycle() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
applicationWasTerminated() |
void |
onApplicationEvent(org.springframework.context.event.ContextClosedEvent event) |
void |
terminateApplication() |
void |
waitUntilTerminated() |
public void terminateApplication()
public void waitUntilTerminated()
public boolean applicationWasTerminated()
public void onApplicationEvent(org.springframework.context.event.ContextClosedEvent event)
onApplicationEvent in interface org.springframework.context.ApplicationListener<org.springframework.context.event.ContextClosedEvent>Copyright © 2015. All rights reserved.