Package io.camunda.spring.client.event
Class CamundaLifecycleEventProducer
java.lang.Object
io.camunda.spring.client.event.CamundaLifecycleEventProducer
- All Implemented Interfaces:
org.springframework.context.Lifecycle,org.springframework.context.Phased,org.springframework.context.SmartLifecycle
public class CamundaLifecycleEventProducer
extends Object
implements org.springframework.context.SmartLifecycle
-
Field Summary
FieldsFields inherited from interface org.springframework.context.SmartLifecycle
DEFAULT_PHASE -
Constructor Summary
ConstructorsConstructorDescriptionCamundaLifecycleEventProducer(CamundaClient client, org.springframework.context.ApplicationEventPublisher publisher) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.context.SmartLifecycle
getPhase, isAutoStartup, stop
-
Field Details
-
running
protected boolean running
-
-
Constructor Details
-
CamundaLifecycleEventProducer
public CamundaLifecycleEventProducer(CamundaClient client, org.springframework.context.ApplicationEventPublisher publisher)
-
-
Method Details
-
start
public void start()- Specified by:
startin interfaceorg.springframework.context.Lifecycle
-
stop
public void stop()- Specified by:
stopin interfaceorg.springframework.context.Lifecycle
-
isRunning
public boolean isRunning()- Specified by:
isRunningin interfaceorg.springframework.context.Lifecycle
-