Package com.aquima.web.boot.annotation
Annotation Type DefaultConfiguration
-
@Retention(RUNTIME) @Documented @Configuration @DefaultContext @ComponentScan(includeFilters=, useDefaultFilters=false) public @interface DefaultConfiguration
This annotation is used to define beans in the application context of the default servlet (mapped to /), and also scan for components annotated with@DefaultContext
which will also be created in the application context of the default servlet.By default, components will be scanned in the package of the class annotated with this annotation and in its subpackages. This can be overridden using the
basePackages
attribute.- Since:
- 10.0
- Author:
- Petru Galanton
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description String[]
basePackages
-
-
-
Element Detail
-
basePackages
@AliasFor(annotation=org.springframework.context.annotation.ComponentScan.class, attribute="basePackages") String[] basePackages
- Default:
- {}
-
-