java.lang.Object
com.sun.faces.application.annotation.ValidatorConfigHandler
- All Implemented Interfaces:
ConfigAnnotationHandler
ConfigAnnotationHandler
for FacesValidator
annotated classes.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
collect
(Class<?> target, Annotation annotation) Collect metadata based on the providedClass
andAnnotation
to be processed later byConfigAnnotationHandler.push(jakarta.faces.context.FacesContext)
.Collection
<Class<? extends Annotation>> void
push
(FacesContext ctx) Push
the configuration based on the collected metadata to the current application.
-
Constructor Details
-
ValidatorConfigHandler
public ValidatorConfigHandler()
-
-
Method Details
-
getHandledAnnotations
- Specified by:
getHandledAnnotations
in interfaceConfigAnnotationHandler
- Returns:
- a
Collection
of annotations handled by this ConfigAnnotationHandler implementation - See Also:
-
collect
Description copied from interface:ConfigAnnotationHandler
Collect metadata based on the provided
Class
andAnnotation
to be processed later byConfigAnnotationHandler.push(jakarta.faces.context.FacesContext)
.NOTE: This method may be called more than once.
- Specified by:
collect
in interfaceConfigAnnotationHandler
- Parameters:
target
- annotated classannotation
-Annotation
to process- See Also:
-
push
Description copied from interface:ConfigAnnotationHandler
Push
the configuration based on the collected metadata to the current application.- Specified by:
push
in interfaceConfigAnnotationHandler
- Parameters:
ctx
- the involved faces context- See Also:
-