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(javax.faces.context.FacesContext ctx)
Push |
public Collection<Class<? extends Annotation>> getHandledAnnotations()
getHandledAnnotations in interface ConfigAnnotationHandlerCollection 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 ConfigAnnotationHandlertarget - annotated classannotation - Annotation to processpublic void push(javax.faces.context.FacesContext ctx)
ConfigAnnotationHandlerPush the configuration based on the collected metadata
to the current application.push in interface ConfigAnnotationHandlerCopyright © 2010–2018 JBoss by Red Hat. All rights reserved.