Package org.springframework.beans.factory.aot
@NullMarked
package org.springframework.beans.factory.aot
AOT support for bean factories.
-
ClassDescriptionThrown when AOT fails to process a bean.Abstract superclass for all exceptions thrown by ahead-of-time processing.Throw when an AOT processor failed.AotServices<T>A collection of AOT services that can be
loaded
from aSpringFactoriesLoader
or obtained from aListableBeanFactory
.Loader class used to actually load the services.Sources from which services were obtained.Resolved arguments to be autowired.Code generator to applyAutowiredArguments
.Resolver used to support the autowiring of fields.Resolver used to support the autowiring of methods.AOT contribution from aBeanFactoryInitializationAotProcessor
used to initialize a bean factory.AOT processor that makes bean factory initialization contributions by processingConfigurableListableBeanFactory
instances.Interface that can be used to configure the code that will be generated to perform bean factory initialization.SpecializedInstanceSupplier
that provides the factoryMethod
used to instantiate the underlying bean instance, if any.AOT contribution from aBeanRegistrationAotProcessor
used to register a single bean definition.AOT processor that makes bean registration contributions by processingRegisteredBean
instances.Interface that can be used to configure the code that will be generated to perform registration of a single bean.Generate the various fragments of code needed to register a bean.ABeanRegistrationCodeFragments
decorator implementation.Filter that can be used to exclude AOT processing of aRegisteredBean
.Interface that can be used to configure the code that will be generated to register beans.Helper class to register warnings that the compiler may trigger on generated code.Default code generator to create anInstanceSupplier
, usually in the form of aBeanInstanceSupplier
that retains the executable that is used to instantiate the bean.