Class ContainerInitializer
- java.lang.Object
-
- org.eclipse.jetty.plus.annotation.ContainerInitializer
-
public class ContainerInitializer extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected Set<String>_annotatedTypeNamesprotected Set<String>_applicableTypeNamesprotected Class<?>[]_interestedTypesprotected ServletContainerInitializer_target
-
Constructor Summary
Constructors Constructor Description ContainerInitializer(ClassLoader loader, String toString)ContainerInitializer(ServletContainerInitializer target, Class<?>[] classes)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddAnnotatedTypeName(String className)A class has been found that has an annotation of interest to this initializer.voidaddApplicableTypeName(String className)voidcallStartup(org.eclipse.jetty.webapp.WebAppContext context)Set<String>getAnnotatedTypeNames()Set<String>getApplicableTypeNames()Class[]getInterestedTypes()ServletContainerInitializergetTarget()voidresolveClasses(org.eclipse.jetty.webapp.WebAppContext context, Map<String,Set<String>> classMap)StringtoString()
-
-
-
Constructor Detail
-
ContainerInitializer
public ContainerInitializer(ServletContainerInitializer target, Class<?>[] classes)
-
ContainerInitializer
public ContainerInitializer(ClassLoader loader, String toString)
-
-
Method Detail
-
getTarget
public 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
-
addApplicableTypeName
public void addApplicableTypeName(String className)
-
callStartup
public void callStartup(org.eclipse.jetty.webapp.WebAppContext context) throws Exception- Throws:
Exception
-
-