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
Fields inherited from interface org.springframework.beans.factory.FactoryBean
OBJECT_TYPE_ATTRIBUTE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Class<?>
boolean
void
setMethodName
(String methodName) void
-
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>
-