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:
-
Field Summary
Fields inherited from interface org.springframework.context.SmartLifecycle
DEFAULT_PHASE -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanvoidstart()voidstartBindable(Bindable bindable) voidstop()voidMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.context.SmartLifecycle
getPhase, isPauseable
-
Method Details
-
start
public void start()- Specified by:
startin interfaceorg.springframework.context.Lifecycle
-
stop
public void stop()- Specified by:
stopin interfaceorg.springframework.context.Lifecycle
-
isRunning
public boolean isRunning()- Specified by:
isRunningin interfaceorg.springframework.context.Lifecycle
-
isAutoStartup
public boolean isAutoStartup()- Specified by:
isAutoStartupin interfaceorg.springframework.context.SmartLifecycle
-
stop
- Specified by:
stopin interfaceorg.springframework.context.SmartLifecycle
-
startBindable
-