java.lang.Object
com.sun.faces.application.annotation.AnnotationManager
This class represents the central point for annotation handling within a web application.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Apply annotations relevant toBehavior
instances.void
Apply annotations relevant toClientBehaviorRenderer
instances.void
Apply annotations relevant toUIComponent
instances.void
applyConfigAnnotations
(FacesContext ctx, Class<? extends Annotation> annotationType, Set<? extends Class> annotatedClasses) Apply the configuration metadata contained with in theCollection
of annotated classes.void
Apply annotations relevant toConverter
instances.void
applyRendererAnnotations
(FacesContext ctx, Renderer r, UIComponent c) Apply annotations relevent toRenderer
instances.void
void
Apply annotations relevant toValidator
instances.
-
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
Collection
of annotated classes.- Parameters:
ctx
- FacesContext available during application initializationannotationType
- the involved annotation typeannotatedClasses
-Collection
of class names known to contain one or more Faces configuration annotations
-
applyBehaviorAnnotations
Apply annotations relevant toBehavior
instances.- Parameters:
ctx
- theFacesContext
for the current requestb
- the targetBehavior
to process
-
applyClientBehaviorRendererAnnotations
Apply annotations relevant toClientBehaviorRenderer
instances.- Parameters:
ctx
- theFacesContext
for the current requestb
- the targetClientBehaviorRenderer
to process
-
applyComponentAnnotations
Apply annotations relevant toUIComponent
instances.- Parameters:
ctx
- theFacesContext
for the current requestc
- the targetUIComponent
to process
-
applyValidatorAnnotations
Apply annotations relevant toValidator
instances.- Parameters:
ctx
- theFacesContext
for the current requestv
- the targetValidator
to process
-
applyConverterAnnotations
Apply annotations relevant toConverter
instances.- Parameters:
ctx
- theFacesContext
for the current requestc
- the targetConverter
to process
-
applyRendererAnnotations
Apply annotations relevent toRenderer
instances.- Parameters:
ctx
- theFacesContext
for the current requestr
- theRenderer
to processc
- theUIComponent
instances that is associated with thisRenderer
-
applySystemEventAnnotations
-