public class SingleChannelBindable extends BindableAdapter
Bindable component that wraps a generic channel. Useful for binding channels outside the
Input and Output
annotated interfaces.| Constructor and Description |
|---|
SingleChannelBindable(String name,
org.springframework.messaging.MessageChannel messageChannel) |
| Modifier and Type | Method and Description |
|---|---|
void |
bindOutputs(ChannelBindingService adapter)
Binds all the outputs associated with this instance.
|
Set<String> |
getOutputs()
Enumerates all the output binding names.
|
void |
unbindOutputs(ChannelBindingService adapter)
Unbinds all the outputs associated with this instance.
|
bindInputs, getInputs, unbindInputspublic SingleChannelBindable(String name, org.springframework.messaging.MessageChannel messageChannel)
public void bindOutputs(ChannelBindingService adapter)
BindablebindOutputs in interface BindablebindOutputs in class BindableAdapterpublic void unbindOutputs(ChannelBindingService adapter)
BindableunbindOutputs in interface BindableunbindOutputs in class BindableAdapterpublic Set<String> getOutputs()
BindablegetOutputs in interface BindablegetOutputs in class BindableAdapterCopyright © 2016 Pivotal Software, Inc.. All rights reserved.