Class AnnotationScanningServletContainerInitializer

  • All Implemented Interfaces:
    jakarta.servlet.ServletContainerInitializer

    public class AnnotationScanningServletContainerInitializer
    extends java.lang.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
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void onStartup​(java.util.Set<java.lang.Class<?>> classes, jakarta.servlet.ServletContext servletContext)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AnnotationScanningServletContainerInitializer

        public AnnotationScanningServletContainerInitializer()
    • Method Detail

      • onStartup

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