Class AnnotationManager
java.lang.Object
com.sun.faces.application.annotation.AnnotationManager
public class AnnotationManager extends Object
This class represents the central point for annotation handling within a web application.
-
Constructor Summary
Constructors Constructor Description AnnotationManager()Construct a new AnnotationManager instance. -
Method Summary
Modifier and Type Method Description voidapplyBehaviorAnnotations(FacesContext ctx, Behavior b)Apply annotations relevant toBehaviorinstances.voidapplyClientBehaviorRendererAnnotations(FacesContext ctx, ClientBehaviorRenderer b)Apply annotations relevant toClientBehaviorRendererinstances.voidapplyComponentAnnotations(FacesContext ctx, UIComponent c)Apply annotations relevant toUIComponentinstances.voidapplyConfigAnnotations(FacesContext ctx, Class<? extends Annotation> annotationType, Set<? extends Class> annotatedClasses)Apply the configuration metadata contained with in theCollectionof annotated classes.voidapplyConverterAnnotations(FacesContext ctx, Converter c)Apply annotations relevant toConverterinstances.voidapplyRendererAnnotations(FacesContext ctx, Renderer r, UIComponent c)Apply annotations relevent toRendererinstances.voidapplySystemEventAnnotations(FacesContext ctx, SystemEvent e)voidapplyValidatorAnnotations(FacesContext ctx, Validator v)Apply annotations relevant toValidatorinstances.
-
Constructor Details
-
AnnotationManager
public AnnotationManager()Construct a new AnnotationManager instance.
-
-
Method Details
-
applyConfigAnnotations
public void applyConfigAnnotations(FacesContext ctx, Class<? extends Annotation> annotationType, Set<? extends Class> annotatedClasses)Apply the configuration metadata contained with in the
Collectionof annotated classes.- Parameters:
ctx- FacesContext available during application initializationannotatedClasses-Collectionof class names known to contain one or more Faces configuration annotations
-
applyBehaviorAnnotations
Apply annotations relevant toBehaviorinstances.- Parameters:
ctx- theFacesContextfor the current requestb- the targetBehaviorto process
-
applyClientBehaviorRendererAnnotations
Apply annotations relevant toClientBehaviorRendererinstances.- Parameters:
ctx- theFacesContextfor the current requestb- the targetClientBehaviorRendererto process
-
applyComponentAnnotations
Apply annotations relevant toUIComponentinstances.- Parameters:
ctx- theFacesContextfor the current requestc- the targetUIComponentto process
-
applyValidatorAnnotations
Apply annotations relevant toValidatorinstances.- Parameters:
ctx- theFacesContextfor the current requestv- the targetValidatorto process
-
applyConverterAnnotations
Apply annotations relevant toConverterinstances.- Parameters:
ctx- theFacesContextfor the current requestc- the targetConverterto process
-
applyRendererAnnotations
Apply annotations relevent toRendererinstances.- Parameters:
ctx- theFacesContextfor the current requestr- theRendererto processc- theUIComponentinstances that is associated with thisRenderer
-
applySystemEventAnnotations
-