Class ApplicationStoppingListener
java.lang.Object
civitas.celestis.listener.application.ApplicationStoppingListener
- All Implemented Interfaces:
Listener
An event listener which exclusively listens to
ApplicationStoppingEvents.- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidHandles the graceful termination of an application.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface civitas.celestis.event.Listener
getHandlerReferences
-
Constructor Details
-
ApplicationStoppingListener
public ApplicationStoppingListener()
-
-
Method Details
-
onApplicationStopping
@ApplicationCritical(created="0.4", lastUpdated="0.4") @EventHandler(priority=TERMINAL) public void onApplicationStopping(@Nonnull ApplicationStoppingEvent event) Handles the graceful termination of an application.- Parameters:
event- The event which was called
-