public class AnnotationManager extends Object
Constructor and Description |
---|
AnnotationManager()
Construct a new AnnotationManager instance.
|
Modifier and Type | Method and Description |
---|---|
void |
applyBehaviorAnnotations(FacesContext ctx,
Behavior b)
Apply annotations relevant to
Behavior instances. |
void |
applyClientBehaviorRendererAnnotations(FacesContext ctx,
ClientBehaviorRenderer b)
Apply annotations relevant to
ClientBehaviorRenderer instances. |
void |
applyComponentAnnotations(FacesContext ctx,
UIComponent c)
Apply annotations relevant to
UIComponent instances. |
void |
applyConfigAnnotations(FacesContext ctx,
Class<? extends Annotation> annotationType,
Set<? extends Class> annotatedClasses)
Apply the configuration metadata contained with in the
Collection
of annotated classes. |
void |
applyConverterAnnotations(FacesContext ctx,
Converter c)
Apply annotations relevant to
Converter instances. |
void |
applyRendererAnnotations(FacesContext ctx,
Renderer r,
UIComponent c)
Apply annotations relevent to
Renderer instances. |
void |
applySystemEventAnnotations(FacesContext ctx,
SystemEvent e) |
void |
applyValidatorAnnotations(FacesContext ctx,
Validator v)
Apply annotations relevant to
Validator instances. |
public AnnotationManager()
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.
ctx
- FacesContext available during application initializationannotatedClasses
- Collection
of class names known
to contain one or more Faces configuration annotationspublic void applyBehaviorAnnotations(FacesContext ctx, Behavior b)
Behavior
instances.ctx
- the FacesContext
for the current requestb
- the target Behavior
to processpublic void applyClientBehaviorRendererAnnotations(FacesContext ctx, ClientBehaviorRenderer b)
ClientBehaviorRenderer
instances.ctx
- the FacesContext
for the current requestb
- the target ClientBehaviorRenderer
to processpublic void applyComponentAnnotations(FacesContext ctx, UIComponent c)
UIComponent
instances.ctx
- the FacesContext
for the current requestc
- the target UIComponent
to processpublic void applyValidatorAnnotations(FacesContext ctx, Validator v)
Validator
instances.ctx
- the FacesContext
for the current requestv
- the target Validator
to processpublic void applyConverterAnnotations(FacesContext ctx, Converter c)
Converter
instances.ctx
- the FacesContext
for the current requestc
- the target Converter
to processpublic void applyRendererAnnotations(FacesContext ctx, Renderer r, UIComponent c)
Renderer
instances.ctx
- the FacesContext
for the current requestr
- the Renderer
to processc
- the UIComponent
instances that is associated with this
Renderer
public void applySystemEventAnnotations(FacesContext ctx, SystemEvent e)
Comments to: faces-dev@eclipse.org.
Copyright © 2019 Eclipse Foundation. All rights reserved.
Use is subject to license terms.