org.springframework.integration.aggregator
Class MethodInvokingReleaseStrategy
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MethodInvokingReleaseStrategy
public MethodInvokingReleaseStrategy(java.lang.Object object,
java.lang.reflect.Method method)
MethodInvokingReleaseStrategy
public MethodInvokingReleaseStrategy(java.lang.Object object,
java.lang.String methodName)
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