@Target(value=TYPE) @Retention(value=RUNTIME) @Documented @Inherited @Configuration @EnableAutoConfiguration @ComponentScan public @interface SpringBootApplication
configuration
class that declares one or more
@Bean
methods and also triggers auto-configuration
and component scanning
. This is a convenience
annotation that is equivalent to declaring @Configuration
,
@EnableAutoConfiguration
and @ComponentScan
.Copyright © 2014 Pivotal Software, Inc.. All rights reserved.