Package org.atmosphere.cpr
Class AnnotationScanningServletContainerInitializer
java.lang.Object
org.atmosphere.cpr.AnnotationScanningServletContainerInitializer
- All Implemented Interfaces:
ServletContainerInitializer
public class AnnotationScanningServletContainerInitializer
extends Object
implements ServletContainerInitializer
A ServletContainerInitializer that scans for annotations, and places them in a map keyed by annotation type in the
servlet context.
NOTE: Any new Atmosphere's annotation must be hardcoded here.
Source of truth:
AtmosphereAnnotations.coreAnnotations()-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidonStartup(Set<Class<?>> classes, ServletContext servletContext)
-
Constructor Details
-
AnnotationScanningServletContainerInitializer
public AnnotationScanningServletContainerInitializer()
-
-
Method Details
-
onStartup
- Specified by:
onStartupin interfaceServletContainerInitializer
-