org.apache.catalina.startup

Class WebAnnotationSet

public class WebAnnotationSet extends Object

AnnotationSet for processing the annotations of the web application classes (/WEB-INF/classes and /WEB-INF/lib).

Version: $Revision: 467222 $ $Date: 2006-10-24 05:17:11 +0200 (Tue, 24 Oct 2006) $

Author: Fabien Carrion

Method Summary
protected static voidaddResource(Context context, Resource annotation)
Process a Resource annotation to set up a Resource.
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, String fileString)
Process the annotations on a context for a given className.

Method Detail

addResource

protected 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.

loadApplicationAnnotations

public static void loadApplicationAnnotations(Context context)
Process the annotations on a context.

loadApplicationFilterAnnotations

protected static void loadApplicationFilterAnnotations(Context context)
Process the annotations for the filters.

loadApplicationListenerAnnotations

protected static void loadApplicationListenerAnnotations(Context context)
Process the annotations for the listeners.

loadApplicationServletAnnotations

protected static void loadApplicationServletAnnotations(Context context)
Process the annotations for the servlets.

loadClassAnnotation

protected static void loadClassAnnotation(Context context, String fileString)
Process the annotations on a context for a given className.
Copyright © 2000-2011 Apache Software Foundation. All Rights Reserved.