Class BindingService.LateBinding<T>
java.lang.Object
org.springframework.cloud.stream.binding.BindingService.LateBinding<T>
- All Implemented Interfaces:
Binding<T>
,org.springframework.context.Lifecycle
,org.springframework.integration.core.Pausable
,org.springframework.integration.support.management.ManageableLifecycle
- Enclosing class:
- BindingService
-
Method Summary
Modifier and TypeMethodDescriptionReturns the name of the target for this binding (i.e., channel name).getError()
getName()
Returns the name of the destination for this binding.boolean
isInput()
Returns boolean flag representing this binding's type.void
setDelegate
(Binding<T> delegate) toString()
void
unbind()
Unbinds the target component represented by this instance and stops any active components.
-
Method Details
-
setDelegate
-
unbind
public void unbind()Description copied from interface:Binding
Unbinds the target component represented by this instance and stops any active components. Implementations must be idempotent. After this method is invoked, the target is not expected to receive any messages; this instance should be discarded, and a new Binding should be created instead. -
getName
Description copied from interface:Binding
Returns the name of the destination for this binding. -
getBindingName
Description copied from interface:Binding
Returns the name of the target for this binding (i.e., channel name).- Specified by:
getBindingName
in interfaceBinding<T>
- Returns:
- binding name
-
getError
-
toString
-
getExtendedInfo
- Specified by:
getExtendedInfo
in interfaceBinding<T>
-
isInput
public boolean isInput()Description copied from interface:Binding
Returns boolean flag representing this binding's type. If 'true' this binding is an 'input' binding otherwise it is 'output' (as in binding annotated with either @Input or @Output).
-