Spring Integration

org.springframework.integration.aggregator
Class MethodInvokingReleaseStrategy

java.lang.Object
  extended by org.springframework.integration.aggregator.MethodInvokingReleaseStrategy
All Implemented Interfaces:
ReleaseStrategy

public class MethodInvokingReleaseStrategy
extends java.lang.Object
implements ReleaseStrategy

A ReleaseStrategy that invokes a method on a plain old Java object.

Author:
Marius Bogoevici, Dave Syer

Constructor Summary
MethodInvokingReleaseStrategy(java.lang.Object object, java.lang.reflect.Method method)
           
MethodInvokingReleaseStrategy(java.lang.Object object, java.lang.String methodName)
           
 
Method Summary
 boolean canRelease(MessageGroup messages)
           
 void setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory)
           
 void setConversionService(org.springframework.core.convert.ConversionService conversionService)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MethodInvokingReleaseStrategy

public MethodInvokingReleaseStrategy(java.lang.Object object,
                                     java.lang.reflect.Method method)

MethodInvokingReleaseStrategy

public MethodInvokingReleaseStrategy(java.lang.Object object,
                                     java.lang.String methodName)
Method Detail

setConversionService

public void setConversionService(org.springframework.core.convert.ConversionService conversionService)

setBeanFactory

public void setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory)

canRelease

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

Spring Integration