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

public Class ConverterConfigHandler

extends Object
implements ConfigAnnotationHandler
Class Inheritance
All Implemented Interfaces
com.sun.faces.application.annotation.ConfigAnnotationHandler
Imports
com.sun.faces.util.FacesLogger, java.lang.annotation.Annotation, java.util.Collection, .Collections, .ArrayList, .Map, .HashMap, java.util.logging.Level, .Logger, javax.faces.context.FacesContext, javax.faces.application.Application, javax.faces.convert.FacesConverter

ConfigAnnotationHandler for FacesConverter annotated classes.

Field Summary

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

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

convertersback to summary
private Map<Object, String> converters
HANDLESback to summary
private static final Collection<Class<? extends Annotation>> HANDLES
LOGGERback to summary
private static final Logger LOGGER

Constructor Detail

ConverterConfigHandlerback to summary
public ConverterConfigHandler()

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)