public class ValidatorConfigHandler extends Object implements ConfigAnnotationHandler
ConfigAnnotationHandler
for FacesValidator
annotated
classes.
Constructor and Description |
---|
ValidatorConfigHandler() |
Modifier and Type | Method and Description |
---|---|
void |
collect(Class<?> target,
Annotation annotation)
Collect metadata based on the provided
Class and
Annotation to be processed later by ConfigAnnotationHandler.push(javax.faces.context.FacesContext) . |
Collection<Class<? extends Annotation>> |
getHandledAnnotations() |
void |
push(FacesContext ctx)
Push |
public Collection<Class<? extends Annotation>> getHandledAnnotations()
getHandledAnnotations
in interface ConfigAnnotationHandler
Collection
of annotations handled by this
ConfigAnnotationHandler implementationConfigAnnotationHandler.getHandledAnnotations()
public void collect(Class<?> target, Annotation annotation)
ConfigAnnotationHandler
Collect metadata based on the provided Class
and
Annotation
to be processed later by ConfigAnnotationHandler.push(javax.faces.context.FacesContext)
.
NOTE: This method may be called more than once.
collect
in interface ConfigAnnotationHandler
target
- annotated classannotation
- Annotation
to processConfigAnnotationHandler.collect(Class, java.lang.annotation.Annotation)
public void push(FacesContext ctx)
ConfigAnnotationHandler
Push the configuration based on the collected metadata
to the current application.
push
in interface ConfigAnnotationHandler
ConfigAnnotationHandler.push(javax.faces.context.FacesContext)
Comments to: faces-dev@eclipse.org.
Copyright © 2019 Eclipse Foundation. All rights reserved.
Use is subject to license terms.