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

public Class ComponentConfigHandler

extends Object
implements ConfigAnnotationHandler
Class Inheritance
All Implemented Interfaces
com.sun.faces.application.annotation.ConfigAnnotationHandler
Imports
com.sun.faces.application.ApplicationAssociate, java.lang.annotation.Annotation, java.util.Collection, .Collections, .ArrayList, .Map, .HashMap, javax.faces.context.FacesContext, javax.faces.component.FacesComponent, javax.faces.application.Application

ConfigAnnotationHandler for FacesComponent annotated classes.

Field Summary

Modifier and TypeField and Description
private Map<String, FacesComponentUsage>
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(javax.faces.context.FacesContext).

public Collection<Class<? extends Annotation>>
public void
push(FacesContext 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

componentsback to summary
private Map<String, FacesComponentUsage> components
HANDLESback to summary
private static final Collection<Class<? extends Annotation>> HANDLES

Constructor Detail

ComponentConfigHandlerback to summary
public ComponentConfigHandler()

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(javax.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.

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