Interface ConfigAnnotationHandler
-
- All Known Implementing Classes:
BehaviorConfigHandler
,ComponentConfigHandler
,ConverterConfigHandler
,NamedEventConfigHandler
,RenderKitConfigHandler
,ValidatorConfigHandler
public interface ConfigAnnotationHandler
Implementations of the interface will be called during application initialization to process any configuration annotations within the web application.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
collect(Class<?> target, Annotation annotation)
Collect metadata based on the providedClass
andAnnotation
to be processed later bypush(jakarta.faces.context.FacesContext)
.Collection<Class<? extends Annotation>>
getHandledAnnotations()
void
push(FacesContext ctx)
Push
the configuration based on the collected metadata to the current application.
-
-
-
Method Detail
-
getHandledAnnotations
Collection<Class<? extends Annotation>> getHandledAnnotations()
- Returns:
- a
Collection
of annotations handled by this ConfigAnnotationHandler implementation
-
collect
void collect(Class<?> target, Annotation annotation)
Collect metadata based on the provided
Class
andAnnotation
to be processed later bypush(jakarta.faces.context.FacesContext)
.NOTE: This method may be called more than once.
- Parameters:
target
- annotated classannotation
-Annotation
to process
-
push
void push(FacesContext ctx)
Push
the configuration based on the collected metadata to the current application.- Parameters:
ctx
- the involved faces context
-
-