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