SpringBootConfiguration
Indicates that a class provides Spring Boot application @Configuration. Can be used as an alternative to the Spring's standard @Configuration
annotation so that configuration can be found automatically (for example in tests).
Application should only ever include one@SpringBootConfiguration
and most idiomatic Spring Boot applications will inherit it from @SpringBootApplication
.
Author
Phillip Webb
Andy Wilkinson
Since
1.4.0
Functions
Link copied to clipboard
Link copied to clipboard
Specify whether @Bean methods should get proxied in order to enforce bean lifecycle behavior, e.g.