Spring Integration

org.springframework.integration.aggregator
Class MessageListMethodAdapter

java.lang.Object
  extended by org.springframework.integration.aggregator.MessageListMethodAdapter
Direct Known Subclasses:
ReleaseStrategyAdapter

public class MessageListMethodAdapter
extends Object

Base class for implementing adapters for methods which take as an argument a list of Message instances or payloads.

Author:
Marius Bogoevici

Field Summary
protected  Method method
           
 
Constructor Summary
MessageListMethodAdapter(Object object, Method method)
           
MessageListMethodAdapter(Object object, String methodName)
           
 
Method Summary
protected  Object executeMethod(Collection<? extends Message<?>> messages)
           
 Method getMethod()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

method

protected final Method method
Constructor Detail

MessageListMethodAdapter

public MessageListMethodAdapter(Object object,
                                String methodName)

MessageListMethodAdapter

public MessageListMethodAdapter(Object object,
                                Method method)
Method Detail

getMethod

public Method getMethod()

executeMethod

protected final Object executeMethod(Collection<? extends Message<?>> messages)

Spring Integration

Copyright © 2010. All Rights Reserved.