org.springframework.integration.aggregator
Class CompletionStrategyAdapter
java.lang.Object
org.springframework.integration.aggregator.MessageListMethodAdapter
org.springframework.integration.aggregator.CompletionStrategyAdapter
- All Implemented Interfaces:
- CompletionStrategy
public class CompletionStrategyAdapter
- extends MessageListMethodAdapter
- implements CompletionStrategy
Adapter for methods annotated with
@CompletionStrategy
and for 'completion-strategy
' elements that include a 'method
'
attribute (e.g. <completion-strategy ref="beanReference" method="methodName"/>).
- Author:
- Marius Bogoevici
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CompletionStrategyAdapter
public CompletionStrategyAdapter(java.lang.Object object,
java.lang.reflect.Method method)
CompletionStrategyAdapter
public CompletionStrategyAdapter(java.lang.Object object,
java.lang.String methodName)
isComplete
public boolean isComplete(java.util.List<Message<?>> messages)
- Specified by:
isComplete
in interface CompletionStrategy