java.lang.Object
com.sun.faces.application.annotation.AnnotationManager
This class represents the central point for annotation handling within a web application.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidApply annotations relevant toBehaviorinstances.voidApply annotations relevant toClientBehaviorRendererinstances.voidApply annotations relevant toUIComponentinstances.voidapplyConfigAnnotations(FacesContext ctx, Class<? extends Annotation> annotationType, Set<? extends Class> annotatedClasses) Apply the configuration metadata contained with in theCollectionof annotated classes.voidApply annotations relevant toConverterinstances.voidapplyRendererAnnotations(FacesContext ctx, Renderer r, UIComponent c) Apply annotations relevent toRendererinstances.voidvoidApply 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 initializationannotationType- the involved annotation typeannotatedClasses-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
-