public class CorrelationStrategyFactoryBean extends 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(Object target)
Deprecated.
since 4.2.5 in favor of appropriate setters
to avoid
BeanCurrentlyInCreationException
during AbstractAutowireCapableBeanFactory.getSingletonFactoryBeanForTypeCheck() |
CorrelationStrategyFactoryBean(Object target,
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() |
Class<?> |
getObjectType() |
boolean |
isSingleton() |
void |
setMethodName(String methodName) |
void |
setTarget(Object target) |
public CorrelationStrategyFactoryBean()
@Deprecated public CorrelationStrategyFactoryBean(Object target)
BeanCurrentlyInCreationException
during AbstractAutowireCapableBeanFactory.getSingletonFactoryBeanForTypeCheck()target - the target object (null if default strategy is acceptable)@Deprecated public CorrelationStrategyFactoryBean(Object target, 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(Object target)
public void setMethodName(String methodName)
public void afterPropertiesSet()
throws Exception
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanExceptionpublic CorrelationStrategy getObject() throws Exception
getObject in interface org.springframework.beans.factory.FactoryBean<CorrelationStrategy>Exceptionpublic Class<?> getObjectType()
getObjectType in interface org.springframework.beans.factory.FactoryBean<CorrelationStrategy>public boolean isSingleton()
isSingleton in interface org.springframework.beans.factory.FactoryBean<CorrelationStrategy>