Class ContainerInitializer
- java.lang.Object
-
- org.eclipse.jetty.plus.annotation.ContainerInitializer
-
public class ContainerInitializer extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.Set<java.lang.String>
_annotatedTypeNames
protected java.util.Set<java.lang.String>
_applicableTypeNames
protected java.lang.Class<?>[]
_interestedTypes
protected javax.servlet.ServletContainerInitializer
_target
-
Constructor Summary
Constructors Constructor Description ContainerInitializer(java.lang.ClassLoader loader, java.lang.String toString)
ContainerInitializer(javax.servlet.ServletContainerInitializer target, java.lang.Class<?>[] classes)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addAnnotatedTypeName(java.lang.String className)
A class has been found that has an annotation of interest to this initializer.void
addApplicableTypeName(java.lang.String className)
void
callStartup(WebAppContext context)
java.util.Set<java.lang.String>
getAnnotatedTypeNames()
java.util.Set<java.lang.String>
getApplicableTypeNames()
java.lang.Class[]
getInterestedTypes()
javax.servlet.ServletContainerInitializer
getTarget()
void
resolveClasses(WebAppContext context, java.util.Map<java.lang.String,java.util.Set<java.lang.String>> classMap)
java.lang.String
toString()
-
-
-
Field Detail
-
_target
protected final javax.servlet.ServletContainerInitializer _target
-
_interestedTypes
protected final java.lang.Class<?>[] _interestedTypes
-
_applicableTypeNames
protected final java.util.Set<java.lang.String> _applicableTypeNames
-
_annotatedTypeNames
protected final java.util.Set<java.lang.String> _annotatedTypeNames
-
-
Method Detail
-
getTarget
public javax.servlet.ServletContainerInitializer getTarget()
-
getInterestedTypes
public java.lang.Class[] getInterestedTypes()
-
addAnnotatedTypeName
public void addAnnotatedTypeName(java.lang.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 java.util.Set<java.lang.String> getAnnotatedTypeNames()
-
addApplicableTypeName
public void addApplicableTypeName(java.lang.String className)
-
getApplicableTypeNames
public java.util.Set<java.lang.String> getApplicableTypeNames()
-
callStartup
public void callStartup(WebAppContext context) throws java.lang.Exception
- Throws:
java.lang.Exception
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
resolveClasses
public void resolveClasses(WebAppContext context, java.util.Map<java.lang.String,java.util.Set<java.lang.String>> classMap)
-
-