public class WebAnnotationSet
extends java.lang.Object
/WEB-INF/classes
and
/WEB-INF/lib
).Modifier and Type | Field and Description |
---|---|
protected static StringManager |
sm
The string resources for this package.
|
Constructor and Description |
---|
WebAnnotationSet() |
Modifier and Type | Method and Description |
---|---|
protected static void |
addResource(Context context,
javax.annotation.Resource annotation)
Process a Resource annotation to set up a Resource.
|
protected static void |
addResource(Context context,
javax.annotation.Resource annotation,
java.lang.String defaultName,
java.lang.Class<?> 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,
java.lang.Class<?> clazz)
Process the annotations on a context for a given className.
|
protected static void |
loadFieldsAnnotation(Context context,
java.lang.Class<?> clazz) |
protected static void |
loadMethodsAnnotation(Context context,
java.lang.Class<?> clazz) |
protected static final StringManager sm
public static void loadApplicationAnnotations(Context context)
context
- The context which will have its annotations processedprotected static void loadApplicationListenerAnnotations(Context context)
context
- The context which will have its annotations processedprotected static void loadApplicationFilterAnnotations(Context context)
context
- The context which will have its annotations processedprotected static void loadApplicationServletAnnotations(Context context)
context
- The context which will have its annotations processedprotected static void loadClassAnnotation(Context context, java.lang.Class<?> clazz)
context
- The context which will have its annotations processedclazz
- The class to examine for Servlet annotationsprotected static void loadFieldsAnnotation(Context context, java.lang.Class<?> clazz)
protected static void loadMethodsAnnotation(Context context, java.lang.Class<?> clazz)
protected static void addResource(Context context, javax.annotation.Resource annotation)
protected static void addResource(Context context, javax.annotation.Resource annotation, java.lang.String defaultName, java.lang.Class<?> defaultType)
Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.