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