Class CoreAutoConfiguration

java.lang.Object
com.flowable.spring.boot.core.CoreAutoConfiguration
All Implemented Interfaces:
org.springframework.context.Lifecycle, org.springframework.context.Phased, org.springframework.context.SmartLifecycle

@AutoConfigureAfter(AppEngineServicesAutoConfiguration.class)
@Configuration(proxyBeanMethods=false)
@ConditionalOnBean(org.flowable.common.engine.api.delegate.event.FlowableEventDispatcher.class)
public class CoreAutoConfiguration
extends java.lang.Object
implements org.springframework.context.SmartLifecycle
Author:
Filip Hrisafov
  • Field Summary

    Fields 
    Modifier and Type Field Description
    protected org.springframework.beans.factory.ObjectProvider<org.flowable.common.engine.api.delegate.event.FlowableEventListener> eventListeners  
    protected org.flowable.common.engine.api.delegate.event.FlowableEventDispatcher flowableEventDispatcher  
    protected java.lang.Object lifeCycleMonitor  
    protected boolean running  

    Fields inherited from interface org.springframework.context.SmartLifecycle

    DEFAULT_PHASE
  • Constructor Summary

    Constructors 
    Constructor Description
    CoreAutoConfiguration​(org.flowable.common.engine.api.delegate.event.FlowableEventDispatcher flowableEventDispatcher, org.springframework.beans.factory.ObjectProvider<org.flowable.common.engine.api.delegate.event.FlowableEventListener> eventListeners)  
  • Method Summary

    Modifier and Type Method Description
    int getPhase()  
    boolean isAutoStartup()  
    boolean isRunning()  
    void start()  
    void stop()  
    void stop​(java.lang.Runnable callback)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • flowableEventDispatcher

      protected final org.flowable.common.engine.api.delegate.event.FlowableEventDispatcher flowableEventDispatcher
    • eventListeners

      protected final org.springframework.beans.factory.ObjectProvider<org.flowable.common.engine.api.delegate.event.FlowableEventListener> eventListeners
    • lifeCycleMonitor

      protected final java.lang.Object lifeCycleMonitor
    • running

      protected boolean running
  • Constructor Details

    • CoreAutoConfiguration

      public CoreAutoConfiguration​(org.flowable.common.engine.api.delegate.event.FlowableEventDispatcher flowableEventDispatcher, org.springframework.beans.factory.ObjectProvider<org.flowable.common.engine.api.delegate.event.FlowableEventListener> eventListeners)
  • Method Details

    • isAutoStartup

      public boolean isAutoStartup()
      Specified by:
      isAutoStartup in interface org.springframework.context.SmartLifecycle
    • stop

      public void stop​(java.lang.Runnable callback)
      Specified by:
      stop in interface org.springframework.context.SmartLifecycle
    • start

      public void start()
      Specified by:
      start in interface org.springframework.context.Lifecycle
    • stop

      public void stop()
      Specified by:
      stop in interface org.springframework.context.Lifecycle
    • isRunning

      public boolean isRunning()
      Specified by:
      isRunning in interface org.springframework.context.Lifecycle
    • getPhase

      public int getPhase()
      Specified by:
      getPhase in interface org.springframework.context.Phased
      Specified by:
      getPhase in interface org.springframework.context.SmartLifecycle