Annotation Interface WebServicesConfiguration


@Retention(RUNTIME) @Documented @Configuration @WebServicesContext @ComponentScan(includeFilters=, useDefaultFilters=false) public @interface WebServicesConfiguration
This annotation is used to define beans in the application context of the /webservices servlet, and also scan for components annotated with @WebServicesContext which will also be created in the application context of the /webservices 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 Link icon

    Optional Elements
    Modifier and Type
    Optional Element
    Description
     
  • Element Details

    • basePackages Link icon

      @AliasFor(annotation=org.springframework.context.annotation.ComponentScan.class, attribute="basePackages") String[] basePackages
      Default:
      {}