public class ContainerInitializer extends Object
Modifier and Type | Field and Description |
---|---|
protected Set<String> |
_annotatedTypeNames |
protected Set<String> |
_applicableTypeNames |
protected Class<?>[] |
_interestedTypes |
protected ServletContainerInitializer |
_target |
Constructor and Description |
---|
ContainerInitializer(ClassLoader loader,
String toString) |
ContainerInitializer(ServletContainerInitializer target,
Class<?>[] classes) |
Modifier and Type | Method and Description |
---|---|
void |
addAnnotatedTypeName(String className)
A class has been found that has an annotation of interest
to this initializer.
|
void |
addApplicableTypeName(String className) |
void |
callStartup(WebAppContext context) |
Set<String> |
getAnnotatedTypeNames() |
Set<String> |
getApplicableTypeNames() |
Class[] |
getInterestedTypes() |
ServletContainerInitializer |
getTarget() |
void |
resolveClasses(WebAppContext context,
Map<String,Set<String>> classMap) |
String |
toString() |
protected final ServletContainerInitializer _target
protected final Class<?>[] _interestedTypes
public ContainerInitializer(ServletContainerInitializer target, Class<?>[] classes)
public ContainerInitializer(ClassLoader loader, String toString)
public ServletContainerInitializer getTarget()
public Class[] getInterestedTypes()
public void addAnnotatedTypeName(String className)
className
- public void addApplicableTypeName(String className)
public void callStartup(WebAppContext context) throws Exception
Exception
public void resolveClasses(WebAppContext context, Map<String,Set<String>> classMap)
Copyright © 1995-2015 Webtide. All Rights Reserved.