Class InputBindingLifecycle
java.lang.Object
org.springframework.cloud.stream.binding.AbstractBindingLifecycle
org.springframework.cloud.stream.binding.InputBindingLifecycle
Coordinates binding/unbinding of input binding targets in accordance to the lifecycle
of the host context.
- Author:
- Marius Bogoevici, Ilayaperumal Gopinathan, Oleg Zhurakousky
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionInputBindingLifecycle(BindingService bindingService, Map<String, Bindable> bindables) -
Method Summary
Modifier and TypeMethodDescriptionintgetPhase()Return a high value so that this bean is started after receiving Lifecycle beans are started.default booleanMethods inherited from class AbstractBindingLifecycle
isAutoStartup, isRunning, start, startBindable, stop, stop
-
Field Details
-
DEFAULT_PHASE
static final int DEFAULT_PHASE- See Also:
-
-
Constructor Details
-
InputBindingLifecycle
-
-
Method Details
-
getPhase
public int getPhase()Return a high value so that this bean is started after receiving Lifecycle beans are started. Beans that need to start after bindings will set a higher phase value. -
isPauseable
default boolean isPauseable()
-