|
Apache Tomcat 7.0.28 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.catalina.startup.WebAnnotationSet
public class WebAnnotationSet
AnnotationSet for processing the annotations of the web application
classes (/WEB-INF/classes
and /WEB-INF/lib
).
Field Summary | |
---|---|
protected static StringManager |
sm
The string resources for this package. |
Constructor Summary | |
---|---|
WebAnnotationSet()
|
Method Summary | |
---|---|
protected static void |
addResource(Context context,
Resource annotation)
Process a Resource annotation to set up a Resource. |
protected static void |
addResource(Context context,
Resource annotation,
String defaultName,
String defaultType)
|
static void |
loadApplicationAnnotations(Context context)
Process the annotations on a context. |
protected static void |
loadApplicationFilterAnnotations(Context context)
Process the annotations for the filters. |
protected static void |
loadApplicationListenerAnnotations(Context context)
Process the annotations for the listeners. |
protected static void |
loadApplicationServletAnnotations(Context context)
Process the annotations for the servlets. |
protected static void |
loadClassAnnotation(Context context,
Class<?> classClass)
Process the annotations on a context for a given className. |
protected static void |
loadFieldsAnnotation(Context context,
Class<?> classClass)
|
protected static void |
loadMethodsAnnotation(Context context,
Class<?> classClass)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static final StringManager sm
Constructor Detail |
---|
public WebAnnotationSet()
Method Detail |
---|
public static void loadApplicationAnnotations(Context context)
protected static void loadApplicationListenerAnnotations(Context context)
protected static void loadApplicationFilterAnnotations(Context context)
protected static void loadApplicationServletAnnotations(Context context)
protected static void loadClassAnnotation(Context context, Class<?> classClass)
protected static void loadFieldsAnnotation(Context context, Class<?> classClass)
protected static void loadMethodsAnnotation(Context context, Class<?> classClass)
protected static void addResource(Context context, Resource annotation)
protected static void addResource(Context context, Resource annotation, String defaultName, String defaultType)
|
Apache Tomcat 7.0.28 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |