Class ZeebeLifecycleEventProducer

java.lang.Object
io.camunda.zeebe.spring.client.event.ZeebeLifecycleEventProducer
All Implemented Interfaces:
org.springframework.context.Lifecycle, org.springframework.context.Phased, org.springframework.context.SmartLifecycle

public class ZeebeLifecycleEventProducer extends Object implements org.springframework.context.SmartLifecycle
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected boolean
     

    Fields inherited from interface org.springframework.context.SmartLifecycle

    DEFAULT_PHASE
  • Constructor Summary

    Constructors
    Constructor
    Description
    ZeebeLifecycleEventProducer(io.camunda.zeebe.client.ZeebeClient client, org.springframework.context.ApplicationEventPublisher publisher)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    void
     
    void
     

    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.SmartLifecycle

    getPhase, isAutoStartup, stop
  • Field Details

    • running

      protected boolean running
  • Constructor Details

    • ZeebeLifecycleEventProducer

      public ZeebeLifecycleEventProducer(io.camunda.zeebe.client.ZeebeClient client, org.springframework.context.ApplicationEventPublisher publisher)
  • Method Details

    • 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