类 LazyInitializationBeanFactoryPostProcessor
java.lang.Object
org.springframework.boot.LazyInitializationBeanFactoryPostProcessor
- 所有已实现的接口:
BeanFactoryPostProcessor
,Ordered
public final class LazyInitializationBeanFactoryPostProcessor
extends Object
implements BeanFactoryPostProcessor, Ordered
BeanFactoryPostProcessor
to set lazy-init on bean definitions that are not
excluded
and have not already had a value
explicitly set.
Note that SmartInitializingSingletons
are
automatically excluded from lazy initialization to ensure that their
callback method
is
invoked.
Beans that are in the infrastructure role
are automatically excluded from lazy initialization, too.
- 从以下版本开始:
- 2.2.0
- 作者:
- Andy Wilkinson, Madhura Bhave, Tyler Van Gorder, Phillip Webb, Moritz Halbritter
- 另请参阅:
-
字段概要
从接口继承的字段 org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明int
getOrder()
void
postProcessBeanFactory
(ConfigurableListableBeanFactory beanFactory)
-
构造器详细资料
-
LazyInitializationBeanFactoryPostProcessor
public LazyInitializationBeanFactoryPostProcessor()
-
-
方法详细资料
-
postProcessBeanFactory
public void postProcessBeanFactory(ConfigurableListableBeanFactory beanFactory) throws BeansException - 指定者:
postProcessBeanFactory
在接口中BeanFactoryPostProcessor
- 抛出:
BeansException
-
getOrder
public int getOrder()
-