public class CorrelationStrategyFactoryBean extends java.lang.Object implements org.springframework.beans.factory.FactoryBean<CorrelationStrategy>, org.springframework.beans.factory.InitializingBean
CorrelationStrategy.
Encapsulates the knowledge of the default strategy and search algorithms for POJO and annotated methods.| Constructor and Description |
|---|
CorrelationStrategyFactoryBean() |
CorrelationStrategyFactoryBean(java.lang.Object target)
Deprecated.
since 4.2.5 in favor of appropriate setters
to avoid
BeanCurrentlyInCreationException
during AbstractAutowireCapableBeanFactory.getSingletonFactoryBeanForTypeCheck() |
CorrelationStrategyFactoryBean(java.lang.Object target,
java.lang.String methodName)
Deprecated.
since 4.2.5 in favor of appropriate setters
to avoid
BeanCurrentlyInCreationException
during AbstractAutowireCapableBeanFactory.getSingletonFactoryBeanForTypeCheck() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet() |
CorrelationStrategy |
getObject() |
java.lang.Class<?> |
getObjectType() |
boolean |
isSingleton() |
void |
setMethodName(java.lang.String methodName) |
void |
setTarget(java.lang.Object target) |
public CorrelationStrategyFactoryBean()
@Deprecated public CorrelationStrategyFactoryBean(java.lang.Object target)
BeanCurrentlyInCreationException
during AbstractAutowireCapableBeanFactory.getSingletonFactoryBeanForTypeCheck()target - the target object (null if default strategy is acceptable)@Deprecated
public CorrelationStrategyFactoryBean(java.lang.Object target,
java.lang.String methodName)
BeanCurrentlyInCreationException
during AbstractAutowireCapableBeanFactory.getSingletonFactoryBeanForTypeCheck()target - the target object (null if default strategy is acceptable)methodName - the method name to invoke in the target (null if it can be inferred)public void setTarget(java.lang.Object target)
public void setMethodName(java.lang.String methodName)
public void afterPropertiesSet()
throws java.lang.Exception
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanjava.lang.Exceptionpublic CorrelationStrategy getObject() throws java.lang.Exception
getObject in interface org.springframework.beans.factory.FactoryBean<CorrelationStrategy>java.lang.Exceptionpublic java.lang.Class<?> getObjectType()
getObjectType in interface org.springframework.beans.factory.FactoryBean<CorrelationStrategy>public boolean isSingleton()
isSingleton in interface org.springframework.beans.factory.FactoryBean<CorrelationStrategy>