public class MethodInvokingReleaseStrategy extends Object implements ReleaseStrategy, BeanFactoryAware
ReleaseStrategy
that invokes a method on a plain old Java object.Constructor and Description |
---|
MethodInvokingReleaseStrategy(Object object,
Method method) |
MethodInvokingReleaseStrategy(Object object,
String methodName) |
Modifier and Type | Method and Description |
---|---|
boolean |
canRelease(MessageGroup messages) |
void |
setBeanFactory(BeanFactory beanFactory) |
void |
setConversionService(ConversionService conversionService) |
public void setConversionService(ConversionService conversionService)
public void setBeanFactory(BeanFactory beanFactory)
setBeanFactory
in interface BeanFactoryAware
public boolean canRelease(MessageGroup messages)
canRelease
in interface ReleaseStrategy