public interface Binding<T>
extends org.springframework.context.Lifecycle
EnableBinding| Modifier and Type | Method and Description |
|---|---|
default String |
getName()
Returns the name of this binding (i.e., channel name)
|
default boolean |
isRunning()
Returns 'true' if the target component represented by this instance is running.
|
default void |
start()
Stops the target component represented by this instance.
|
default void |
stop()
Starts the target component represented by this instance.
|
void |
unbind()
Unbinds the target component represented by this instance and stops any active
components.
|
default void start()
start in interface org.springframework.context.LifecycleBindingsEndpointdefault void stop()
stop in interface org.springframework.context.LifecycleBindingsEndpointdefault boolean isRunning()
isRunning in interface org.springframework.context.Lifecycledefault String getName()
void unbind()
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.