@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.| Modifier and Type | Optional Element and Description |
|---|---|
Class<?>[] |
exclude
Exclude specific auto-configuration classes such that they will never be applied.
|
String[] |
excludeName
Exclude specific auto-configuration class names such that they will never be
applied.
|
public abstract Class<?>[] exclude
public abstract String[] excludeName
Copyright © 2015 Pivotal Software, Inc.. All rights reserved.