Class CglibSubclassingInstantiationStrategy

java.lang.Object
org.springframework.beans.factory.support.SimpleInstantiationStrategy
org.springframework.beans.factory.support.CglibSubclassingInstantiationStrategy
All Implemented Interfaces:
InstantiationStrategy

public class CglibSubclassingInstantiationStrategy extends SimpleInstantiationStrategy
Default object instantiation strategy for use in BeanFactories.

Uses CGLIB to generate subclasses dynamically if methods need to be overridden by the container to implement Method Injection.

Since:
1.1
Author:
Rod Johnson, Juergen Hoeller, Sam Brannen