Class AbstractBindingLifecycle

java.lang.Object
org.springframework.cloud.stream.binding.AbstractBindingLifecycle
All Implemented Interfaces:
org.springframework.context.Lifecycle, org.springframework.context.Phased, org.springframework.context.SmartLifecycle
Direct Known Subclasses:
InputBindingLifecycle, OutputBindingLifecycle

public abstract class AbstractBindingLifecycle extends Object implements org.springframework.context.SmartLifecycle
Base implementation of lifecycle operations for BindingService aware Bindables.
Author:
Oleg Zhurakousky, Soby Chacko
See Also:
  • 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
    • isAutoStartup

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

      public void stop(Runnable callback)
      Specified by:
      stop in interface org.springframework.context.SmartLifecycle
    • startBindable

      public void startBindable(Bindable bindable)