Class ValidatorConfigHandler
java.lang.Object
com.sun.faces.application.annotation.ValidatorConfigHandler
- All Implemented Interfaces:
ConfigAnnotationHandler
public class ValidatorConfigHandler extends Object implements ConfigAnnotationHandler
ConfigAnnotationHandler for FacesValidator annotated classes.
-
Constructor Summary
Constructors Constructor Description ValidatorConfigHandler() -
Method Summary
Modifier and Type Method Description voidcollect(Class<?> target, Annotation annotation)Collect metadata based on the providedClassandAnnotationto be processed later byConfigAnnotationHandler.push(jakarta.faces.context.FacesContext).Collection<Class<? extends Annotation>>getHandledAnnotations()voidpush(FacesContext ctx)Pushthe configuration based on the collected metadata to the current application.
-
Constructor Details
-
ValidatorConfigHandler
public ValidatorConfigHandler()
-
-
Method Details
-
getHandledAnnotations
- Specified by:
getHandledAnnotationsin interfaceConfigAnnotationHandler- Returns:
- a
Collectionof annotations handled by this ConfigAnnotationHandler implementation - See Also:
ConfigAnnotationHandler.getHandledAnnotations()
-
collect
Description copied from interface:ConfigAnnotationHandlerCollect metadata based on the provided
ClassandAnnotationto be processed later byConfigAnnotationHandler.push(jakarta.faces.context.FacesContext).NOTE: This method may be called more than once.
- Specified by:
collectin interfaceConfigAnnotationHandler- Parameters:
target- annotated classannotation-Annotationto process- See Also:
ConfigAnnotationHandler.collect(Class, java.lang.annotation.Annotation)
-
push
Description copied from interface:ConfigAnnotationHandlerPushthe configuration based on the collected metadata to the current application.- Specified by:
pushin interfaceConfigAnnotationHandler- See Also:
ConfigAnnotationHandler.push(jakarta.faces.context.FacesContext)
-