Package overit.geocall.scheduler
Class SchedulerShutdownEventHandler
java.lang.Object
overit.geocall.scheduler.SchedulerShutdownEventHandler
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidhandleContextClosed(org.springframework.context.event.ContextClosedEvent event) Handles the Spring context closed event by delegating tohandleShutdown().
-
Constructor Details
-
SchedulerShutdownEventHandler
public SchedulerShutdownEventHandler()
-
-
Method Details
-
handleContextClosed
@EventListener @Order(-2147483648) public void handleContextClosed(org.springframework.context.event.ContextClosedEvent event) Handles the Spring context closed event by delegating tohandleShutdown(). This method is automatically called by Spring when the application context is closing.- Parameters:
event- the context closed event
-