Package org.apache.catalina.startup
Class WebAnnotationSet
java.lang.Object
org.apache.catalina.startup.WebAnnotationSet
AnnotationSet for processing the annotations of the web application classes
 (
/WEB-INF/classes and /WEB-INF/lib).- 
Field SummaryFieldsModifier and TypeFieldDescriptionprotected static final StringManagerThe string resources for this package.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected static voidaddResource(Context context, Resource annotation) Process a Resource annotation to set up a Resource.protected static voidaddResource(Context context, Resource annotation, String defaultName, 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 voidProcess the annotations for the listeners.protected static voidloadApplicationServletAnnotations(Context context) Process the annotations for the servlets.protected static voidloadClassAnnotation(Context context, Class<?> clazz) Process the annotations on a context for a given className.protected static voidloadFieldsAnnotation(Context context, Class<?> clazz) protected static voidloadMethodsAnnotation(Context context, Class<?> clazz) 
- 
Field Details- 
smThe string resources for this package.
 
- 
- 
Constructor Details- 
WebAnnotationSetpublic WebAnnotationSet()
 
- 
- 
Method Details- 
loadApplicationAnnotationsProcess the annotations on a context.- Parameters:
- context- The context which will have its annotations processed
 
- 
loadApplicationListenerAnnotationsProcess the annotations for the listeners.- Parameters:
- context- The context which will have its annotations processed
 
- 
loadApplicationFilterAnnotationsProcess the annotations for the filters.- Parameters:
- context- The context which will have its annotations processed
 
- 
loadApplicationServletAnnotationsProcess the annotations for the servlets.- Parameters:
- context- The context which will have its annotations processed
 
- 
loadClassAnnotationProcess 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
 
- 
loadFieldsAnnotation
- 
loadMethodsAnnotation
- 
addResourceProcess 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
 
- 
addResource
 
-