Class ContainerInitializer

java.lang.Object
org.eclipse.jetty.plus.annotation.ContainerInitializer

public class ContainerInitializer extends Object
  • Field Details

    • LOG

      private static final Logger LOG
    • _target

      protected final javax.servlet.ServletContainerInitializer _target
    • _interestedTypes

      protected final Class<?>[] _interestedTypes
    • _applicableTypeNames

      protected final Set<String> _applicableTypeNames
    • _annotatedTypeNames

      protected final Set<String> _annotatedTypeNames
  • Constructor Details

    • ContainerInitializer

      public ContainerInitializer(javax.servlet.ServletContainerInitializer target, Class<?>[] classes)
    • ContainerInitializer

      public ContainerInitializer(ClassLoader loader, String toString)
  • Method Details

    • getTarget

      public javax.servlet.ServletContainerInitializer getTarget()
    • getInterestedTypes

      public Class[] getInterestedTypes()
    • addAnnotatedTypeName

      public void addAnnotatedTypeName(String className)
      A class has been found that has an annotation of interest to this initializer.
      Parameters:
      className - the class name to add
    • getAnnotatedTypeNames

      public Set<String> getAnnotatedTypeNames()
    • addApplicableTypeName

      public void addApplicableTypeName(String className)
    • getApplicableTypeNames

      public Set<String> getApplicableTypeNames()
    • callStartup

      public void callStartup(WebAppContext context) throws Exception
      Throws:
      Exception
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • resolveClasses

      public void resolveClasses(WebAppContext context, Map<String,Set<String>> classMap)
    • addInheritedTypes

      private void addInheritedTypes(Map<String,Set<String>> classMap, Set<String> names)