Top Description Fields Constructors Methods
com.sun.faces.cdi

pack-priv Class FacesConverterAnnotationLiteral

extends AnnotationLiteral<FacesConverter>
implements FacesConverter
Class Inheritance
All Implemented Interfaces
javax.faces.convert.FacesConverter, java.lang.annotation.Annotation
Annotations
@SuppressWarnings:all
Imports
javax.enterprise.util.AnnotationLiteral, javax.faces.convert.FacesConverter

A helper class.

Used in CdiUtils to define a CDI qualifier so we can get a match out using the BeanManager API.

Field Summary

Modifier and TypeField and Description
private Class<T>
forClass

Stores the forClass attribute.

private static final long
private String
value

Stores the value attribute.

Constructor Summary

AccessConstructor and Description
public
FacesConverterAnnotationLiteral(String
the value attribute.
value
,
Class<T>
the forClass attribute.
forClass
)

Constructor.

Method Summary

Modifier and TypeMethod and Description
public Class<T>

Returns:

the forClass attribute.
forClass
()

Implements javax.faces.convert.FacesConverter.forClass.

Get the forClass attribute.
public boolean

Returns:

true.
managed
()

Implements javax.faces.convert.FacesConverter.managed.

Get the managed attribute.
public String

Returns:

the value attribute.
value
()

Implements javax.faces.convert.FacesConverter.value.

Get the value attribute.
Inherited from javax.enterprise.util.AnnotationLiteral:
annotationTypeequalshashCodetoString

Field Detail

forClassback to summary
private Class<T> forClass

Stores the forClass attribute.

serialVersionUIDback to summary
private static final long serialVersionUID

Hides javax.enterprise.util.AnnotationLiteral.serialVersionUID.

Stores the serial version UID.

valueback to summary
private String value

Stores the value attribute.

Constructor Detail

FacesConverterAnnotationLiteralback to summary
public FacesConverterAnnotationLiteral(String value, Class<T> forClass)

Constructor.

Parameters
value:String

the value attribute.

forClass:Class<T>

the forClass attribute.

Method Detail

forClassback to summary
public Class<T> forClass()

Implements javax.faces.convert.FacesConverter.forClass.

Get the forClass attribute.

Returns:Class<T>

the forClass attribute.

Annotations
@Override
managedback to summary
public boolean managed()

Implements javax.faces.convert.FacesConverter.managed.

Get the managed attribute.

Returns:boolean

true.

Annotations
@Override
valueback to summary
public String value()

Implements javax.faces.convert.FacesConverter.value.

Get the value attribute.

Returns:String

the value attribute.

Annotations
@Override