public class CglibSubclassingInstantiationStrategy extends SimpleInstantiationStrategy
Using Method Injection features requires CGLIB on the classpath. However, the core IoC container will still run without CGLIB being available.
| Constructor and Description |
|---|
CglibSubclassingInstantiationStrategy() |
| Modifier and Type | Method and Description |
|---|---|
protected Object |
instantiateWithMethodInjection(RootBeanDefinition beanDefinition,
String beanName,
BeanFactory owner)
Subclasses can override this method, which is implemented to throw
UnsupportedOperationException, if they can instantiate an object with
the Method Injection specified in the given RootBeanDefinition.
|
protected Object |
instantiateWithMethodInjection(RootBeanDefinition beanDefinition,
String beanName,
BeanFactory owner,
Constructor ctor,
Object[] args)
Subclasses can override this method, which is implemented to throw
UnsupportedOperationException, if they can instantiate an object with
the Method Injection specified in the given RootBeanDefinition.
|
getCurrentlyInvokedFactoryMethod, instantiate, instantiate, instantiatepublic CglibSubclassingInstantiationStrategy()
protected Object instantiateWithMethodInjection(RootBeanDefinition beanDefinition, String beanName, BeanFactory owner)
SimpleInstantiationStrategyinstantiateWithMethodInjection in class SimpleInstantiationStrategyprotected Object instantiateWithMethodInjection(RootBeanDefinition beanDefinition, String beanName, BeanFactory owner, Constructor ctor, Object[] args)
SimpleInstantiationStrategyinstantiateWithMethodInjection in class SimpleInstantiationStrategyCopyright © 2013. All Rights Reserved.