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

    Constructors
    Constructor
    Description
    ShutdownListener(org.activiti.engine.impl.cfg.ProcessEngineConfigurationImpl processEngineConfiguration)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    int
     
    void
    onApplicationEvent(org.springframework.context.event.ContextClosedEvent event)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods 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:
      onApplicationEvent in interface org.springframework.context.ApplicationListener<org.springframework.context.event.ContextClosedEvent>
    • getOrder

      public int getOrder()
      Specified by:
      getOrder in interface org.springframework.core.Ordered