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 Object
implements ReleaseStrategy

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

Author:
Marius Bogoevici, Dave Syer

Constructor Summary
MethodInvokingReleaseStrategy(Object object, Method method)
           
MethodInvokingReleaseStrategy(Object object, String methodName)
           
 
Method Summary
 boolean canRelease(MessageGroup messages)
           
 void setBeanFactory(BeanFactory beanFactory)
           
 void setConversionService(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(Object object,
                                     Method method)

MethodInvokingReleaseStrategy

public MethodInvokingReleaseStrategy(Object object,
                                     String methodName)
Method Detail

setConversionService

public void setConversionService(ConversionService conversionService)

setBeanFactory

public void setBeanFactory(BeanFactory beanFactory)

canRelease

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

Spring Integration

Copyright © 2010. All Rights Reserved.