Class ReleaseStrategyFactoryBean
java.lang.Object
org.springframework.integration.config.ReleaseStrategyFactoryBean
- All Implemented Interfaces:
FactoryBean<ReleaseStrategy>
,InitializingBean
public class ReleaseStrategyFactoryBean extends Object implements FactoryBean<ReleaseStrategy>, InitializingBean
Convenience factory for XML configuration of a
ReleaseStrategy
.
Encapsulates the knowledge of the default strategy and search algorithms for POJO and annotated methods.- Author:
- Dave Syer, Gary Russell, Artem Bilan
-
Field Summary
-
Constructor Summary
Constructors Constructor Description ReleaseStrategyFactoryBean()
-
Method Summary
Modifier and Type Method Description void
afterPropertiesSet()
ReleaseStrategy
getObject()
Class<?>
getObjectType()
boolean
isSingleton()
void
setMethodName(String methodName)
void
setTarget(Object target)
-
Constructor Details
-
ReleaseStrategyFactoryBean
public ReleaseStrategyFactoryBean()
-
-
Method Details
-
setTarget
-
setMethodName
-
afterPropertiesSet
public void afterPropertiesSet()- Specified by:
afterPropertiesSet
in interfaceInitializingBean
-
getObject
- Specified by:
getObject
in interfaceFactoryBean<ReleaseStrategy>
-
getObjectType
- Specified by:
getObjectType
in interfaceFactoryBean<ReleaseStrategy>
-
isSingleton
public boolean isSingleton()- Specified by:
isSingleton
in interfaceFactoryBean<ReleaseStrategy>
-