Package ubic.gemma.core.context
Class LazyInitByDefaultPostProcessor
- java.lang.Object
-
- ubic.gemma.core.context.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 theubic.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
-
-
Constructor Summary
Constructors Constructor Description LazyInitByDefaultPostProcessor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
postProcessBeanFactory(ConfigurableListableBeanFactory beanFactory)
-
-
-
Method Detail
-
postProcessBeanFactory
public void postProcessBeanFactory(ConfigurableListableBeanFactory beanFactory) throws BeansException
- Specified by:
postProcessBeanFactory
in interfaceBeanFactoryPostProcessor
- Throws:
BeansException
-
-