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.Lifecyclestart in interface org.springframework.integration.support.management.ManageableLifecycleBindingsEndpointdefault void stop()
stop in interface org.springframework.context.Lifecyclestop in interface org.springframework.integration.support.management.ManageableLifecycleBindingsEndpointdefault boolean isPaused()
isPaused in interface org.springframework.integration.core.Pausabledefault 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.PausableBindingsEndpointdefault 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.PausableBindingsEndpointdefault boolean isRunning()
isRunning in interface org.springframework.context.LifecycleisRunning in interface org.springframework.integration.support.management.ManageableLifecycledefault String getName()
default String getBindingName()
void unbind()
default boolean isInput()
Copyright © 2022 Pivotal Software, Inc.. All rights reserved.