|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.springframework.integration.handler.AbstractMessageHandler
org.springframework.integration.aggregator.AbstractMessageBarrierHandler<java.util.List<Message<?>>>
org.springframework.integration.aggregator.AbstractMessageAggregator
org.springframework.integration.aggregator.MethodInvokingAggregator
public class MethodInvokingAggregator
AbstractMessageAggregator adapter for methods annotated with
@Aggregator annotation and for aggregator
elements (e.g. <aggregator ref="beanReference" method="methodName"/>).
| Field Summary |
|---|
| Fields inherited from class org.springframework.integration.aggregator.AbstractMessageBarrierHandler |
|---|
barriers, DEFAULT_REAPER_INTERVAL, DEFAULT_SEND_TIMEOUT, DEFAULT_TIMEOUT, DEFAULT_TRACKED_CORRRELATION_ID_CAPACITY, logger, trackedCorrelationIds |
| Fields inherited from interface org.springframework.core.Ordered |
|---|
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE |
| Constructor Summary | |
|---|---|
MethodInvokingAggregator(java.lang.Object object)
|
|
MethodInvokingAggregator(java.lang.Object object,
java.lang.reflect.Method method)
|
|
MethodInvokingAggregator(java.lang.Object object,
java.lang.String methodName)
|
|
| Method Summary | |
|---|---|
Message<?> |
aggregateMessages(java.util.List<Message<?>> messages)
|
| Methods inherited from class org.springframework.integration.aggregator.AbstractMessageAggregator |
|---|
createMessageBarrier, processBarrier, setCompletionStrategy |
| Methods inherited from class org.springframework.integration.aggregator.AbstractMessageBarrierHandler |
|---|
afterPropertiesSet, canAddMessage, discardBarrier, handleMessageInternal, isRunning, removeBarrier, resolveReplyChannelFromMessage, sendReplies, sendReply, setAutoStartup, setBeanFactory, setCorrelationStrategy, setDiscardChannel, setOutputChannel, setReaperInterval, setSendPartialResultOnTimeout, setSendTimeout, setTaskScheduler, setTimeout, setTrackedCorrelationIdCapacity, start, stop |
| Methods inherited from class org.springframework.integration.handler.AbstractMessageHandler |
|---|
getOrder, handleMessage, resolveReplyChannel, setOrder |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MethodInvokingAggregator(java.lang.Object object,
java.lang.reflect.Method method)
public MethodInvokingAggregator(java.lang.Object object,
java.lang.String methodName)
public MethodInvokingAggregator(java.lang.Object object)
| Method Detail |
|---|
public Message<?> aggregateMessages(java.util.List<Message<?>> messages)
aggregateMessages in class AbstractMessageAggregator
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||