Package com.flowable.spring.boot.core
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
-
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
-
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 interfaceorg.springframework.context.SmartLifecycle
-
stop
public void stop(java.lang.Runnable callback)- Specified by:
stop
in interfaceorg.springframework.context.SmartLifecycle
-
start
public void start()- Specified by:
start
in interfaceorg.springframework.context.Lifecycle
-
stop
public void stop()- Specified by:
stop
in interfaceorg.springframework.context.Lifecycle
-
isRunning
public boolean isRunning()- Specified by:
isRunning
in interfaceorg.springframework.context.Lifecycle
-
getPhase
public int getPhase()- Specified by:
getPhase
in interfaceorg.springframework.context.Phased
- Specified by:
getPhase
in interfaceorg.springframework.context.SmartLifecycle
-