public class AnnotationManager extends Object
| Constructor and Description |
|---|
AnnotationManager()
Construct a new AnnotationManager instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
applyBehaviorAnnotations(jakarta.faces.context.FacesContext ctx,
jakarta.faces.component.behavior.Behavior b)
Apply annotations relevant to
Behavior instances. |
void |
applyClientBehaviorRendererAnnotations(jakarta.faces.context.FacesContext ctx,
jakarta.faces.render.ClientBehaviorRenderer b)
Apply annotations relevant to
ClientBehaviorRenderer instances. |
void |
applyComponentAnnotations(jakarta.faces.context.FacesContext ctx,
jakarta.faces.component.UIComponent c)
Apply annotations relevant to
UIComponent instances. |
void |
applyConfigAnnotations(jakarta.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(jakarta.faces.context.FacesContext ctx,
jakarta.faces.convert.Converter c)
Apply annotations relevant to
Converter instances. |
void |
applyRendererAnnotations(jakarta.faces.context.FacesContext ctx,
jakarta.faces.render.Renderer r,
jakarta.faces.component.UIComponent c)
Apply annotations relevent to
Renderer instances. |
void |
applySystemEventAnnotations(jakarta.faces.context.FacesContext ctx,
jakarta.faces.event.SystemEvent e) |
void |
applyValidatorAnnotations(jakarta.faces.context.FacesContext ctx,
jakarta.faces.validator.Validator v)
Apply annotations relevant to
Validator instances. |
public AnnotationManager()
public void applyConfigAnnotations(jakarta.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(jakarta.faces.context.FacesContext ctx,
jakarta.faces.component.behavior.Behavior b)
Behavior instances.ctx - the FacesContext for the current requestb - the target Behavior to processpublic void applyClientBehaviorRendererAnnotations(jakarta.faces.context.FacesContext ctx,
jakarta.faces.render.ClientBehaviorRenderer b)
ClientBehaviorRenderer instances.ctx - the FacesContext for the current requestb - the target ClientBehaviorRenderer to processpublic void applyComponentAnnotations(jakarta.faces.context.FacesContext ctx,
jakarta.faces.component.UIComponent c)
UIComponent instances.ctx - the FacesContext for the current requestc - the target UIComponent to processpublic void applyValidatorAnnotations(jakarta.faces.context.FacesContext ctx,
jakarta.faces.validator.Validator v)
Validator instances.ctx - the FacesContext for the current requestv - the target Validator to processpublic void applyConverterAnnotations(jakarta.faces.context.FacesContext ctx,
jakarta.faces.convert.Converter c)
Converter instances.ctx - the FacesContext for the current requestc - the target Converter to processpublic void applyRendererAnnotations(jakarta.faces.context.FacesContext ctx,
jakarta.faces.render.Renderer r,
jakarta.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(jakarta.faces.context.FacesContext ctx,
jakarta.faces.event.SystemEvent e)
Copyright © 2010–2022 JBoss by Red Hat. All rights reserved.