T
- type of a bindingpublic interface Binding<T>
extends org.springframework.integration.core.Pausable
EnableBinding
Modifier and Type | Method and Description |
---|---|
default String |
getBindingName()
Returns the name of the target for this binding (i.e., channel name).
|
default Map<String,Object> |
getExtendedInfo() |
default String |
getName()
Returns the name of the destination for this binding.
|
default boolean |
isInput()
Returns boolean flag representing this binding's type.
|
default boolean |
isPaused()
Will always return false unless overriden.
|
default boolean |
isRunning() |
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
start
in interface org.springframework.integration.support.management.ManageableLifecycle
BindingsEndpoint
default void stop()
stop
in interface org.springframework.context.Lifecycle
stop
in interface org.springframework.integration.support.management.ManageableLifecycle
BindingsEndpoint
default boolean isPaused()
isPaused
in interface org.springframework.integration.core.Pausable
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.core.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.core.Pausable
BindingsEndpoint
default boolean isRunning()
isRunning
in interface org.springframework.context.Lifecycle
isRunning
in interface org.springframework.integration.support.management.ManageableLifecycle
default String getName()
default String getBindingName()
void unbind()
default boolean isInput()
Copyright © 2023 Pivotal Software, Inc.. All rights reserved.