org.springframework.beans.factory.support

Class 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
    • Constructor Detail

      • CglibSubclassingInstantiationStrategy

        public CglibSubclassingInstantiationStrategy()