Class MethodInvokingReleaseStrategy
java.lang.Object
org.springframework.integration.aggregator.MethodInvokingReleaseStrategy
- All Implemented Interfaces:
- Aware,- BeanFactoryAware,- Lifecycle,- ReleaseStrategy,- ManageableLifecycle
public class MethodInvokingReleaseStrategy
extends Object
implements ReleaseStrategy, BeanFactoryAware, ManageableLifecycle
A 
ReleaseStrategy that invokes a method on a plain old Java object.- Author:
- Marius Bogoevici, Dave Syer, Artme Bilan
- 
Constructor SummaryConstructorsConstructorDescriptionMethodInvokingReleaseStrategy(Object object, Method method) MethodInvokingReleaseStrategy(Object object, String methodName) 
- 
Method SummaryModifier and TypeMethodDescriptionbooleancanRelease(MessageGroup messages) booleanvoidsetBeanFactory(BeanFactory beanFactory) voidsetConversionService(ConversionService conversionService) voidstart()voidstop()
- 
Constructor Details- 
MethodInvokingReleaseStrategy
- 
MethodInvokingReleaseStrategy
 
- 
- 
Method Details- 
setConversionService
- 
setBeanFactory- Specified by:
- setBeanFactoryin interface- BeanFactoryAware
 
- 
canRelease- Specified by:
- canReleasein interface- ReleaseStrategy
 
- 
startpublic void start()- Specified by:
- startin interface- Lifecycle
- Specified by:
- startin interface- ManageableLifecycle
 
- 
stoppublic void stop()- Specified by:
- stopin interface- Lifecycle
- Specified by:
- stopin interface- ManageableLifecycle
 
- 
isRunningpublic boolean isRunning()- Specified by:
- isRunningin interface- Lifecycle
- Specified by:
- isRunningin interface- ManageableLifecycle
 
 
-