Class AnnotationScanningServletContainerInitializer

java.lang.Object
org.atmosphere.cpr.AnnotationScanningServletContainerInitializer
All Implemented Interfaces:
jakarta.servlet.ServletContainerInitializer

public class AnnotationScanningServletContainerInitializer extends Object implements jakarta.servlet.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.
Author:
Stuart Douglas
  • Constructor Details

    • AnnotationScanningServletContainerInitializer

      public AnnotationScanningServletContainerInitializer()
  • Method Details

    • onStartup

      public void onStartup(Set<Class<?>> classes, jakarta.servlet.ServletContext servletContext)
      Specified by:
      onStartup in interface jakarta.servlet.ServletContainerInitializer