Top Description Fields Constructors Methods
com.sun.faces.application.annotation

public Class BehaviorConfigHandler

extends Object
implements ConfigAnnotationHandler
Class Inheritance
All Implemented Interfaces
com.sun.faces.application.annotation.ConfigAnnotationHandler
Imports
java.lang.annotation.Annotation, java.util.Collection, .HashMap, .List, .Map, jakarta.faces.application.Application, jakarta.faces.component.behavior.FacesBehavior, jakarta.faces.context.FacesContext

ConfigAnnotationHandler for FacesBehavior annotated classes.

Field Summary

Modifier and TypeField and Description
private Map<String, String>
private static final Collection<Class<? extends Annotation>>

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
collect(Class<?>
annotated class
target
,
Annotation
Annotation to process
annotation
)

Implements com.sun.faces.application.annotation.ConfigAnnotationHandler.collect.

Collect metadata based on the provided Class and Annotation to be processed later by push(jakarta.faces.context.FacesContext).

public Collection<Class<? extends Annotation>>
public void
push(FacesContext
the involved faces context
ctx
)

Implements com.sun.faces.application.annotation.ConfigAnnotationHandler.push.

Push the configuration based on the collected metadata to the current application.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

behaviorsback to summary
private Map<String, String> behaviors
HANDLESback to summary
private static final Collection<Class<? extends Annotation>> HANDLES

Constructor Detail

BehaviorConfigHandlerback to summary
public BehaviorConfigHandler()

Method Detail

collectback to summary
public void collect(Class<?> target, Annotation annotation)

Implements com.sun.faces.application.annotation.ConfigAnnotationHandler.collect.

Doc from com.sun.faces.application.annotation.ConfigAnnotationHandler.collect.

Collect metadata based on the provided Class and Annotation to be processed later by push(jakarta.faces.context.FacesContext).

Note

This method may be called more than once.

Parameters
target:Class<?>

annotated class

annotation:Annotation

Annotation to process

Annotations
@Override
See Also
com.sun.faces.application.annotation.ConfigAnnotationHandler#collect(Class, java.lang.annotation.Annotation)
getHandledAnnotationsback to summary
public Collection<Class<? extends Annotation>> getHandledAnnotations()

Implements com.sun.faces.application.annotation.ConfigAnnotationHandler.getHandledAnnotations.

Returns:Collection<Class<? extends Annotation>>

Doc from com.sun.faces.application.annotation.ConfigAnnotationHandler.getHandledAnnotations.

a Collection of annotations handled by this ConfigAnnotationHandler implementation

Annotations
@Override
See Also
com.sun.faces.application.annotation.ConfigAnnotationHandler#getHandledAnnotations()
pushback to summary
public void push(FacesContext ctx)

Implements com.sun.faces.application.annotation.ConfigAnnotationHandler.push.

Doc from com.sun.faces.application.annotation.ConfigAnnotationHandler.push.

Push the configuration based on the collected metadata to the current application.

Parameters
ctx:FacesContext

the involved faces context

Annotations
@Override
See Also
com.sun.faces.application.annotation.ConfigAnnotationHandler#push(jakarta.faces.context.FacesContext)