Package org.activiti.spring.boot
Class ShutdownListener
java.lang.Object
org.activiti.spring.boot.ShutdownListener
- All Implemented Interfaces:
EventListener,org.springframework.context.ApplicationListener<org.springframework.context.event.ContextClosedEvent>,org.springframework.core.Ordered,org.springframework.core.PriorityOrdered
public class ShutdownListener
extends Object
implements org.springframework.context.ApplicationListener<org.springframework.context.event.ContextClosedEvent>, org.springframework.core.PriorityOrdered
-
Field Summary
Fields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE -
Constructor Summary
ConstructorsConstructorDescriptionShutdownListener(org.activiti.engine.impl.cfg.ProcessEngineConfigurationImpl processEngineConfiguration) -
Method Summary
Modifier and TypeMethodDescriptionintgetOrder()voidonApplicationEvent(org.springframework.context.event.ContextClosedEvent event) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.context.ApplicationListener
supportsAsyncExecution
-
Constructor Details
-
ShutdownListener
public ShutdownListener(org.activiti.engine.impl.cfg.ProcessEngineConfigurationImpl processEngineConfiguration)
-
-
Method Details
-
onApplicationEvent
public void onApplicationEvent(org.springframework.context.event.ContextClosedEvent event) - Specified by:
onApplicationEventin interfaceorg.springframework.context.ApplicationListener<org.springframework.context.event.ContextClosedEvent>
-
getOrder
public int getOrder()- Specified by:
getOrderin interfaceorg.springframework.core.Ordered
-