public interface Binding<T>
extends org.springframework.integration.endpoint.Pausable
EnableBinding
Modifier and Type | Method and Description |
---|---|
default Map<String,Object> |
getExtendedInfo() |
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 |
pause()
Pauses the target component represented by this instance if and only if the component
implements
Pausable interface
NOTE: At the time the instance is created the component is already started and active. |
default void |
resume()
Resumes the target component represented by this instance if and only if the component
implements
Pausable interface
NOTE: At the time the instance is created the component is already started and active. |
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.Lifecycle
BindingsEndpoint
default void stop()
stop
in interface org.springframework.context.Lifecycle
BindingsEndpoint
default void pause()
Pausable
interface
NOTE: At the time the instance is created the component is already started and active.
This operation is typically used by actuator to pause/resume.pause
in interface org.springframework.integration.endpoint.Pausable
BindingsEndpoint
default void resume()
Pausable
interface
NOTE: At the time the instance is created the component is already started and active.
This operation is typically used by actuator to pause/resume.resume
in interface org.springframework.integration.endpoint.Pausable
BindingsEndpoint
default boolean isRunning()
isRunning
in interface org.springframework.context.Lifecycle
default String getName()
void unbind()
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.