public class AnnotationManager extends Object
| Constructor and Description |
|---|
AnnotationManager()
Construct a new AnnotationManager instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
applyBehaviorAnnotations(javax.faces.context.FacesContext ctx,
javax.faces.component.behavior.Behavior b)
Apply annotations relevant to
Behavior instances. |
void |
applyClientBehaviorRendererAnnotations(javax.faces.context.FacesContext ctx,
javax.faces.render.ClientBehaviorRenderer b)
Apply annotations relevant to
ClientBehaviorRenderer instances. |
void |
applyComponentAnnotations(javax.faces.context.FacesContext ctx,
javax.faces.component.UIComponent c)
Apply annotations relevant to
UIComponent instances. |
void |
applyConfigAnnotations(javax.faces.context.FacesContext ctx,
Class<? extends Annotation> annotationType,
Set<? extends Class> annotatedClasses)
Apply the configuration metadata contained with in the
Collection
of annotated classes. |
void |
applyConverterAnnotations(javax.faces.context.FacesContext ctx,
javax.faces.convert.Converter c)
Apply annotations relevant to
Converter instances. |
void |
applyRendererAnnotations(javax.faces.context.FacesContext ctx,
javax.faces.render.Renderer r,
javax.faces.component.UIComponent c)
Apply annotations relevent to
Renderer instances. |
void |
applySystemEventAnnotations(javax.faces.context.FacesContext ctx,
javax.faces.event.SystemEvent e) |
void |
applyValidatorAnnotations(javax.faces.context.FacesContext ctx,
javax.faces.validator.Validator v)
Apply annotations relevant to
Validator instances. |
public AnnotationManager()
public void applyConfigAnnotations(javax.faces.context.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(javax.faces.context.FacesContext ctx,
javax.faces.component.behavior.Behavior b)
Behavior instances.ctx - the FacesContext for the current requestb - the target Behavior to processpublic void applyClientBehaviorRendererAnnotations(javax.faces.context.FacesContext ctx,
javax.faces.render.ClientBehaviorRenderer b)
ClientBehaviorRenderer instances.ctx - the FacesContext for the current requestb - the target ClientBehaviorRenderer to processpublic void applyComponentAnnotations(javax.faces.context.FacesContext ctx,
javax.faces.component.UIComponent c)
UIComponent instances.ctx - the FacesContext for the current requestc - the target UIComponent to processpublic void applyValidatorAnnotations(javax.faces.context.FacesContext ctx,
javax.faces.validator.Validator v)
Validator instances.ctx - the FacesContext for the current requestv - the target Validator to processpublic void applyConverterAnnotations(javax.faces.context.FacesContext ctx,
javax.faces.convert.Converter c)
Converter instances.ctx - the FacesContext for the current requestc - the target Converter to processpublic void applyRendererAnnotations(javax.faces.context.FacesContext ctx,
javax.faces.render.Renderer r,
javax.faces.component.UIComponent c)
Renderer instances.ctx - the FacesContext for the current requestr - the Renderer to processc - the UIComponent instances that is associated with this
Rendererpublic void applySystemEventAnnotations(javax.faces.context.FacesContext ctx,
javax.faces.event.SystemEvent e)
Copyright © 2010–2024 JBoss by Red Hat. All rights reserved.