Package io.quarkus.runtime
Class ShutdownEvent
- java.lang.Object
-
- io.quarkus.runtime.ShutdownEvent
-
public class ShutdownEvent extends Object
Event that is fired before shutdown. This event is observed as follows:
The annotated method can access other injected beans.void onStop(@Observes ShutdownEvent ev) { LOGGER.info("The application is stopping..."); }