public interface ApplicationLifecycle
Modifier and Type | Method and Description |
---|---|
void |
addStopHook(java.util.concurrent.Callable<? extends java.util.concurrent.CompletionStage<?>> hook)
Add a stop hook to be called when the application stops.
|
play.api.inject.ApplicationLifecycle |
asScala() |
void addStopHook(java.util.concurrent.Callable<? extends java.util.concurrent.CompletionStage<?>> hook)
hook
- the stop hook.play.api.inject.ApplicationLifecycle asScala()