Class 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

    public static class BindingService.LateBinding<T>
    extends Object
    implements Binding<T>
    • Method Detail

      • setDelegate

        public void setDelegate​(Binding<T> delegate)
      • 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.
        Specified by:
        unbind in interface Binding<T>
      • getName

        public String getName()
        Description copied from interface: Binding
        Returns the name of the destination for this binding.
        Specified by:
        getName in interface Binding<T>
        Returns:
        destination name
      • getBindingName

        public String getBindingName()
        Description copied from interface: Binding
        Returns the name of the target for this binding (i.e., channel name).
        Specified by:
        getBindingName in interface Binding<T>
        Returns:
        binding name
      • getError

        public String getError()
      • 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).
        Specified by:
        isInput in interface Binding<T>
        Returns:
        'true' if this binding represents an input binding.