org.springframework.integration.aggregator
Class MethodInvokingReleaseStrategy
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MethodInvokingReleaseStrategy
public MethodInvokingReleaseStrategy(Object object,
Method method)
MethodInvokingReleaseStrategy
public MethodInvokingReleaseStrategy(Object object,
String methodName)
setConversionService
public void setConversionService(ConversionService conversionService)
setBeanFactory
public void setBeanFactory(BeanFactory beanFactory)
canRelease
public boolean canRelease(MessageGroup messages)
- Specified by:
canRelease
in interface ReleaseStrategy
Copyright © 2010. All Rights Reserved.