Class ShutdownEvent


  • public class ShutdownEvent
    extends Object
    Event that is fired before shutdown. This event is observed as follows:
         void onStop(@Observes ShutdownEvent ev) {
             LOGGER.info("The application is stopping...");
         }
     
    The annotated method can access other injected beans.
    • Constructor Detail

      • ShutdownEvent

        public ShutdownEvent()