org.springframework.integration.aggregator
Class ReleaseStrategyAdapter
java.lang.Object
org.springframework.integration.aggregator.MessageListMethodAdapter
org.springframework.integration.aggregator.ReleaseStrategyAdapter
- All Implemented Interfaces:
- ReleaseStrategy
public class ReleaseStrategyAdapter
- extends MessageListMethodAdapter
- implements ReleaseStrategy
Adapter for methods annotated with
@ReleaseStrategy
and for 'release-strategy
' elements that include a 'method
'
attribute (e.g. <release-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 |
ReleaseStrategyAdapter
public ReleaseStrategyAdapter(Object object,
Method method)
ReleaseStrategyAdapter
public ReleaseStrategyAdapter(Object object,
String methodName)
canRelease
public boolean canRelease(MessageGroup messages)
- Specified by:
canRelease
in interface ReleaseStrategy
Copyright © 2010. All Rights Reserved.