Spring Integration

org.springframework.integration.aggregator
Class ReleaseStrategyAdapter

java.lang.Object
  extended by org.springframework.integration.aggregator.MessageListMethodAdapter
      extended by 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

Field Summary
 
Fields inherited from class org.springframework.integration.aggregator.MessageListMethodAdapter
method
 
Constructor Summary
ReleaseStrategyAdapter(Object object, Method method)
           
ReleaseStrategyAdapter(Object object, String methodName)
           
 
Method Summary
 boolean canRelease(MessageGroup messages)
           
 
Methods inherited from class org.springframework.integration.aggregator.MessageListMethodAdapter
executeMethod, getMethod
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReleaseStrategyAdapter

public ReleaseStrategyAdapter(Object object,
                              Method method)

ReleaseStrategyAdapter

public ReleaseStrategyAdapter(Object object,
                              String methodName)
Method Detail

canRelease

public boolean canRelease(MessageGroup messages)
Specified by:
canRelease in interface ReleaseStrategy

Spring Integration

Copyright © 2010. All Rights Reserved.