|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.integration.channel.factory.AbstractChannelFactory org.springframework.integration.channel.factory.PriorityChannelFactory
public class PriorityChannelFactory
A ChannelFactory
for creating PriorityChannel
instances.
Field Summary | |
---|---|
private int |
capacity
|
private java.util.Comparator<Message<?>> |
comparator
|
Constructor Summary | |
---|---|
PriorityChannelFactory()
|
Method Summary | |
---|---|
protected AbstractMessageChannel |
createChannelInternal()
Factory method to be overridden by subclasses. |
void |
setCapacity(int capacity)
|
void |
setComparator(java.util.Comparator<Message<?>> comparator)
|
Methods inherited from class org.springframework.integration.channel.factory.AbstractChannelFactory |
---|
getChannel |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private int capacity
private java.util.Comparator<Message<?>> comparator
Constructor Detail |
---|
public PriorityChannelFactory()
Method Detail |
---|
public void setCapacity(int capacity)
public void setComparator(java.util.Comparator<Message<?>> comparator)
protected AbstractMessageChannel createChannelInternal()
AbstractChannelFactory
createChannelInternal
in class AbstractChannelFactory
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |