Package org.springframework.boot.bootstrap
@NullMarked
package org.springframework.boot.bootstrap
Bootstrap concerns to support the creation of potentially expensive singletons while
the application starts.
-
ClassDescriptionA simple bootstrap context that is available during startup and
Environmentpost-processing up to the point that theApplicationContextis prepared.ApplicationEventpublished by aBootstrapContextwhen it's closed.A simple object registry that is available during startup andEnvironmentpost-processing up to the point that theApplicationContextis prepared.Supplier used to provide the actual instance when needed.The scope of an instance.Callback interface that can be used to initialize aBootstrapRegistrybefore it is used.ABootstrapContextthat also provides configuration methods through theBootstrapRegistryinterface.DefaultConfigurableBootstrapContextimplementation.