Class LazyInitByDefaultPostProcessor

  • All Implemented Interfaces:
    BeanFactoryPostProcessor

    public class LazyInitByDefaultPostProcessor
    extends Object
    implements BeanFactoryPostProcessor
    Mark beans as lazy-init by default.

    Beans annotated with Lazy or annotated with the ubic.gemma.core.context.LazyInitByDefaultPostProcessor.ignore attribute are excluded.

    This is a necessary workaround because Spring 3 does not support lazy-by-default for annotated components.

    Author:
    poirigui