Class ManagedBeanConfigHandler
java.lang.Object
com.sun.faces.application.annotation.ManagedBeanConfigHandler
- All Implemented Interfaces:
ConfigAnnotationHandler
public class ManagedBeanConfigHandler extends Object implements ConfigAnnotationHandler
ConfigAnnotationHandler
for ManagedBean
annotated classes.
-
Constructor Summary
Constructors Constructor Description ManagedBeanConfigHandler()
-
Method Summary
Modifier and Type Method Description void
collect(Class<?> target, Annotation annotation)
Collect metadata based on the providedClass
andAnnotation
to be processed later byConfigAnnotationHandler.push(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.
-
Constructor Details
-
ManagedBeanConfigHandler
public ManagedBeanConfigHandler()
-
-
Method Details
-
getHandledAnnotations
- Specified by:
getHandledAnnotations
in interfaceConfigAnnotationHandler
- Returns:
- a
Collection
of annotations handled by this ConfigAnnotationHandler implementation - See Also:
ConfigAnnotationHandler.getHandledAnnotations()
-
collect
Description copied from interface:ConfigAnnotationHandler
Collect metadata based on the provided
Class
andAnnotation
to be processed later byConfigAnnotationHandler.push(jakarta.faces.context.FacesContext)
.NOTE: This method may be called more than once.
- Specified by:
collect
in interfaceConfigAnnotationHandler
- Parameters:
target
- annotated classannotation
-Annotation
to process- See Also:
ConfigAnnotationHandler.collect(Class, java.lang.annotation.Annotation)
-
push
Description copied from interface:ConfigAnnotationHandler
Push
the configuration based on the collected metadata to the current application.
- Specified by:
push
in interfaceConfigAnnotationHandler
- See Also:
ConfigAnnotationHandler.push(jakarta.faces.context.FacesContext)
-