Interface ConfigAnnotationHandler
- All Known Implementing Classes:
BehaviorConfigHandler,ComponentConfigHandler,ConverterConfigHandler,ManagedBeanConfigHandler,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
Modifier and Type Method Description voidcollect(Class<?> target, Annotation annotation)Collect metadata based on the providedClassandAnnotationto be processed later bypush(jakarta.faces.context.FacesContext).Collection<Class<? extends Annotation>>getHandledAnnotations()voidpush(FacesContext ctx)Pushthe configuration based on the collected metadata to the current application.
-
Method Details
-
getHandledAnnotations
Collection<Class<? extends Annotation>> getHandledAnnotations()- Returns:
- a
Collectionof annotations handled by this ConfigAnnotationHandler implementation
-
collect
Collect metadata based on the provided
ClassandAnnotationto be processed later bypush(jakarta.faces.context.FacesContext).NOTE: This method may be called more than once.
- Parameters:
target- annotated classannotation-Annotationto process
-
push
Pushthe configuration based on the collected metadata to the current application.
-