Class SpringLifecycleStartHandler

java.lang.Object
org.axonframework.extension.spring.config.SpringLifecycleStartHandler
All Implemented Interfaces:
org.springframework.context.Lifecycle, org.springframework.context.Phased, org.springframework.context.SmartLifecycle

@Internal public class SpringLifecycleStartHandler extends Object implements org.springframework.context.SmartLifecycle
A SmartLifecycle implementation wrapping a start-specific lifecycle handler to allow it to be managed by Spring.
Since:
5.0.0
Author:
Allard Buijze
  • 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
    • getPhase

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