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