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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
applyBehaviorAnnotations(FacesContext ctx, Behavior b)
Apply annotations relevant toBehavior
instances.void
applyClientBehaviorRendererAnnotations(FacesContext ctx, ClientBehaviorRenderer b)
Apply annotations relevant toClientBehaviorRenderer
instances.void
applyComponentAnnotations(FacesContext ctx, UIComponent c)
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
applyConverterAnnotations(FacesContext ctx, Converter c)
Apply annotations relevant toConverter
instances.void
applyRendererAnnotations(FacesContext ctx, Renderer r, UIComponent c)
Apply annotations relevent toRenderer
instances.void
applySystemEventAnnotations(FacesContext ctx, SystemEvent e)
void
applyValidatorAnnotations(FacesContext ctx, Validator v)
Apply annotations relevant toValidator
instances.
-
-
-
Method Detail
-
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
public void applyBehaviorAnnotations(FacesContext ctx, Behavior b)
Apply annotations relevant toBehavior
instances.- Parameters:
ctx
- theFacesContext
for the current requestb
- the targetBehavior
to process
-
applyClientBehaviorRendererAnnotations
public void applyClientBehaviorRendererAnnotations(FacesContext ctx, ClientBehaviorRenderer b)
Apply annotations relevant toClientBehaviorRenderer
instances.- Parameters:
ctx
- theFacesContext
for the current requestb
- the targetClientBehaviorRenderer
to process
-
applyComponentAnnotations
public void applyComponentAnnotations(FacesContext ctx, UIComponent c)
Apply annotations relevant toUIComponent
instances.- Parameters:
ctx
- theFacesContext
for the current requestc
- the targetUIComponent
to process
-
applyValidatorAnnotations
public void applyValidatorAnnotations(FacesContext ctx, Validator v)
Apply annotations relevant toValidator
instances.- Parameters:
ctx
- theFacesContext
for the current requestv
- the targetValidator
to process
-
applyConverterAnnotations
public void applyConverterAnnotations(FacesContext ctx, Converter c)
Apply annotations relevant toConverter
instances.- Parameters:
ctx
- theFacesContext
for the current requestc
- the targetConverter
to process
-
applyRendererAnnotations
public void applyRendererAnnotations(FacesContext ctx, Renderer r, UIComponent c)
Apply annotations relevent toRenderer
instances.- Parameters:
ctx
- theFacesContext
for the current requestr
- theRenderer
to processc
- theUIComponent
instances that is associated with thisRenderer
-
applySystemEventAnnotations
public void applySystemEventAnnotations(FacesContext ctx, SystemEvent e)
-
-