ServletComponentScan
Enables scanning for Servlet components (filters, servlets, and listeners). Scanning is only performed when using an embedded web server.
Typically, one of value
, basePackages
, or basePackageClasses
should be specified to control the packages to be scanned for components. In their absence, scanning will be performed from the package of the class with the annotation.
Author
Andy Wilkinson
Since
1.3.0
See also
WebServlet
WebFilter
WebListener
Functions
Link copied to clipboard
Link copied to clipboard
Type-safe alternative to basePackages for specifying the packages to scan for annotated servlet components.
Link copied to clipboard
Base packages to scan for annotated servlet components.