public class CorrelationStrategyFactoryBean extends java.lang.Object implements org.springframework.beans.factory.FactoryBean<CorrelationStrategy>
CorrelationStrategy
. Encapsulates the knowledge of the default
strategy and search algorithms for POJO and annotated methods.Constructor and Description |
---|
CorrelationStrategyFactoryBean(java.lang.Object target)
Create a factory and set up the delegate which clients of the factory will see as its product.
|
CorrelationStrategyFactoryBean(java.lang.Object target,
java.lang.String methodName)
Create a factory and set up the delegate which clients of the factory will see as its product.
|
Modifier and Type | Method and Description |
---|---|
CorrelationStrategy |
getObject() |
java.lang.Class<?> |
getObjectType() |
boolean |
isSingleton() |
public CorrelationStrategyFactoryBean(java.lang.Object target)
target
- the target object (null if default strategy is acceptable)public CorrelationStrategyFactoryBean(java.lang.Object target, java.lang.String methodName)
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 CorrelationStrategy getObject() throws java.lang.Exception
getObject
in interface org.springframework.beans.factory.FactoryBean<CorrelationStrategy>
java.lang.Exception
public 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>