public class NamedEventConfigHandler extends Object implements ConfigAnnotationHandler
shortName
attribute is specified, register the
event by that name as well.Constructor and Description |
---|
NamedEventConfigHandler() |
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 implementationpublic 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 processpublic void push(FacesContext ctx)
ConfigAnnotationHandler
Push the configuration based on the collected metadata
to the current application.
push
in interface ConfigAnnotationHandler
Comments to: faces-dev@eclipse.org.
Copyright © 2019 Eclipse Foundation. All rights reserved.
Use is subject to license terms.