public abstract class AbstractChannelSelector extends Object implements ChannelSelector
Constructor and Description |
---|
AbstractChannelSelector() |
Modifier and Type | Method and Description |
---|---|
List<Channel> |
getAllChannels() |
protected List<Channel> |
getChannelListFromNames(String channels,
Map<String,Channel> channelNameMap)
Given a list of channel names as space delimited string,
returns list of channels.
|
protected Map<String,Channel> |
getChannelNameMap() |
String |
getName() |
void |
setChannels(List<Channel> channels) |
void |
setName(String name) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getOptionalChannels, getRequiredChannels
configure
public List<Channel> getAllChannels()
getAllChannels
in interface ChannelSelector
public void setChannels(List<Channel> channels)
setChannels
in interface ChannelSelector
channels
- all channels the selector could select from.public void setName(String name)
setName
in interface NamedComponent
public String getName()
getName
in interface NamedComponent
protected Map<String,Channel> getChannelNameMap()
Copyright © 2009–2019 Apache Software Foundation. All rights reserved.