程序包 org.springframework.boot.autoconfigure
Spring Boot's auto-configuration capabilities.
接口概要 接口 说明 AutoConfigurationImportFilter Filter that can be registered inspring.factories
to limit the auto-configuration classes considered.AutoConfigurationImportListener Listener that can be registered withspring.factories
to receive details of imported auto-configurations.AutoConfigurationMetadata Provides access to meta-data written by the auto-configure annotation processor.类概要 类 说明 AbstractDatabaseInitializer Base class used for database initialization.AbstractDependsOnBeanFactoryPostProcessor Abstract base class for aBeanFactoryPostProcessor
that can be used to dynamically declare that all beans of a specific type should depend on one or more specific beans.AutoConfigurationExcludeFilter ATypeFilter
implementation that matches registered auto-configuration classes.AutoConfigurationImportEvent Event fired when auto-configuration classes are imported.AutoConfigurationImportSelector DeferredImportSelector
to handleauto-configuration
.AutoConfigurationPackages Class for storing auto-configuration packages for reference later (e.g. by JPA entity scanner).BackgroundPreinitializer ApplicationListener
to trigger early initialization in a background thread of time consuming tasks.EnableAutoConfigurationImportSelector 已过时。 as of 1.5 in favor ofAutoConfigurationImportSelector
MessageSourceAutoConfiguration 已过时。 as of 1.5 in favor ofMessageSourceAutoConfiguration
PropertyPlaceholderAutoConfiguration 已过时。 as of 1.5 in favor ofPropertyPlaceholderAutoConfiguration
注释类型概要 注释类型 说明 AutoConfigurationPackage Indicates that the package containing the annotated class should be registered withAutoConfigurationPackages
.AutoConfigureAfter Hint for that anauto-configuration
should be applied after other specified auto-configuration classes.AutoConfigureBefore Hint for that anauto-configuration
should be applied before other specified auto-configuration classes.AutoConfigureOrder Auto-configuration specific variant of Spring Framework'sOrder
annotation.EnableAutoConfiguration Enable auto-configuration of the Spring Application Context, attempting to guess and configure beans that you are likely to need.ImportAutoConfiguration Import and apply the specified auto-configuration classes.SpringBootApplication Indicates aconfiguration
class that declares one or more@Bean
methods and also triggersauto-configuration
andcomponent scanning
.