Interface ApplicationShutdownListener
-
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface ApplicationShutdownListenerDropwizard application shut down listener. Useful for an additional shutdown logic. Supposed to be used instead ofServerLifecycleListener(because server listener is not called for guicey lightweight tests) and instead ofLifeCycle.Listenerin cases when only shutdown event is important (easier to use).- Since:
- 24.02.2025
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidstopped(com.google.inject.Injector injector)Called after server shutdown (including shutdown after lightweight guicey tests).
-