Class OutputBindingLifecycle

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

public class OutputBindingLifecycle extends AbstractBindingLifecycle
Coordinates binding/unbinding of output binding targets in accordance to the lifecycle of the host context.
Author:
Marius Bogoevici, Ilayaperumal Gopinathan, Oleg Zhurakousky
  • Constructor Details

  • Method Details

    • getPhase

      public int getPhase()
      Return a low value so that this bean is started after receiving Lifecycle beans are started. Beans that need to start before bindings will set a lower phase value.