Package org.apache.catalina.startup
Class WebAnnotationSet
- java.lang.Object
- 
- org.apache.catalina.startup.WebAnnotationSet
 
- 
 public class WebAnnotationSet extends java.lang.ObjectAnnotationSet for processing the annotations of the web application classes (/WEB-INF/classesand/WEB-INF/lib).
- 
- 
Field SummaryFields Modifier and Type Field Description protected static StringManagersmThe string resources for this package.
 - 
Constructor SummaryConstructors Constructor Description WebAnnotationSet()
 - 
Method SummaryAll Methods Static Methods Concrete Methods Modifier and Type Method Description protected static voidaddResource(Context context, Resource annotation)Process a Resource annotation to set up a Resource.protected static voidaddResource(Context context, Resource annotation, java.lang.String defaultName, java.lang.Class<?> defaultType)static voidloadApplicationAnnotations(Context context)Process the annotations on a context.protected static voidloadApplicationFilterAnnotations(Context context)Process the annotations for the filters.protected static voidloadApplicationListenerAnnotations(Context context)Process the annotations for the listeners.protected static voidloadApplicationServletAnnotations(Context context)Process the annotations for the servlets.protected static voidloadClassAnnotation(Context context, java.lang.Class<?> clazz)Process the annotations on a context for a given className.protected static voidloadFieldsAnnotation(Context context, java.lang.Class<?> clazz)protected static voidloadMethodsAnnotation(Context context, java.lang.Class<?> clazz)
 
- 
- 
- 
Field Detail- 
smprotected static final StringManager sm The string resources for this package.
 
- 
 - 
Method Detail- 
loadApplicationAnnotationspublic static void loadApplicationAnnotations(Context context) Process the annotations on a context.- Parameters:
- context- The context which will have its annotations processed
 
 - 
loadApplicationListenerAnnotationsprotected static void loadApplicationListenerAnnotations(Context context) Process the annotations for the listeners.- Parameters:
- context- The context which will have its annotations processed
 
 - 
loadApplicationFilterAnnotationsprotected static void loadApplicationFilterAnnotations(Context context) Process the annotations for the filters.- Parameters:
- context- The context which will have its annotations processed
 
 - 
loadApplicationServletAnnotationsprotected static void loadApplicationServletAnnotations(Context context) Process the annotations for the servlets.- Parameters:
- context- The context which will have its annotations processed
 
 - 
loadClassAnnotationprotected static void loadClassAnnotation(Context context, java.lang.Class<?> clazz) Process the annotations on a context for a given className.- Parameters:
- context- The context which will have its annotations processed
- clazz- The class to examine for Servlet annotations
 
 - 
loadFieldsAnnotationprotected static void loadFieldsAnnotation(Context context, java.lang.Class<?> clazz) 
 - 
loadMethodsAnnotationprotected static void loadMethodsAnnotation(Context context, java.lang.Class<?> clazz) 
 - 
addResourceprotected static void addResource(Context context, Resource annotation) Process a Resource annotation to set up a Resource. Ref JSR 250, equivalent to the resource-ref, message-destination-ref, env-ref, resource-env-ref or service-ref element in the deployment descriptor.- Parameters:
- context- The context which will have its annotations processed
- annotation- The annotation that was found
 
 
- 
 
-