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