Package com.aquima.web.boot.annotation
Annotation Interface ServerConfiguration
@Retention(RUNTIME)
@Configuration
@ComponentScan(includeFilters=,
useDefaultFilters=false)
@ServerContext
public @interface ServerConfiguration
This annotation is used to define beans in the application context of the /server servlet, and also scan for
components annotated with
@ServerContext
which will also be created in the application context
of the /server 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 ElementsModifier and TypeOptional ElementDescriptionString[]
Sets the base packages in which to scan for components.
-
Element Details
-
basePackages
@AliasFor(annotation=org.springframework.context.annotation.ComponentScan.class, attribute="basePackages") String[] basePackagesSets the base packages in which to scan for components.- Returns:
- the base packages
- Default:
{}
-