LazyInitializationBeanFactoryPostProcessor

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.

Author

Andy Wilkinson

Madhura Bhave

Tyler Van Gorder

Phillip Webb

Moritz Halbritter

Since

2.2.0

See also

Constructors

constructor()

Properties

Link copied to clipboard
val HIGHEST_PRECEDENCE: Int = -2147483648
Link copied to clipboard
val LOWEST_PRECEDENCE: Int = 2147483647

Functions

Link copied to clipboard
open fun getOrder(): Int
Link copied to clipboard