Package org.springframework.beans.factory.generator
@NonNullApi
@NonNullFields
package org.springframework.beans.factory.generator
Support for generating code that represents the state of a bean factory.
-
ClassDescriptionSpecialization of
BeanFactoryPostProcessorthat contributes bean factory optimizations ahead of time, using generated code that replaces runtime behavior.Specialization of a priority orderedBeanPostProcessorthat contributes to bean instantiation ahead of time, providing generated code that is equivalent to its runtime behavior.Thrown when a bean definition could not be generated.ABeanFactoryContributionthat generates the bean definitions of a bean factory, usingBeanRegistrationContributionProviderto use appropriate customizations if necessary.Contribute optimizations ahead of time to initialize a bean factory.The initialization of aBeanFactory.A contribution to the instantiation of a bean following ahead of time processing.Generate code that instantiate a particular bean.Support for generating parameters.ABeanFactoryContributionthat registers a bean with the bean factory.Thrown when no suitableBeanFactoryContributioncan be provided for the registration of a given bean definition.Strategy interface to be implemented by components that require custom contribution for a bean definition.DefaultBeanRegistrationContributionProviderimplementation.Generate the necessary code tocreate a bean instanceorinject dependencies.