Top Description Inners Methods
jakarta.faces.annotation

public @Interface InitParameterMap

extends Annotation
Known Direct Implementers
jakarta.faces.annotation.InitParameterMap.Literal
Annotations
@Target:TYPE, METHOD, PARAMETER, FIELD
@Qualifier
@Retention:RUNTIME
Static Imports
java.lang.annotation.ElementType.FIELD, .ElementType.METHOD, .ElementType.PARAMETER, .ElementType.TYPE, .RetentionPolicy.RUNTIME

The presence of this annotation (along with @Inject) on a field of type Map<String, String> causes the map returned from jakarta.faces.context.ExternalContext#getInitParameterMap to be injected as the value of that field.

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class
InitParameterMap.Literal

Supports inline instantiation of the InitParameterMap qualifier.

Method Summary

Inherited from java.lang.annotation.Annotation:
annotationTypeequalshashCodetoString
jakarta.faces.annotation back to summary

public final Class InitParameterMap.Literal

extends AnnotationLiteral<InitParameterMap>
implements InitParameterMap
Class Inheritance
All Implemented Interfaces
jakarta.faces.annotation.InitParameterMap, java.lang.annotation.Annotation

Supports inline instantiation of the InitParameterMap qualifier.

Since
4.0

Field Summary

Modifier and TypeField and Description
public static final InitParameterMap.Literal
INSTANCE

Instance of the InitParameterMap qualifier.

private static final long

Constructor Summary

AccessConstructor and Description
public

Method Summary

Inherited from jakarta.enterprise.util.AnnotationLiteral:
annotationTypeequalshashCodetoString

Field Detail

INSTANCEback to summary
public static final InitParameterMap.Literal INSTANCE

Instance of the InitParameterMap qualifier.

serialVersionUIDback to summary
private static final long serialVersionUID

Hides jakarta.enterprise.util.AnnotationLiteral.serialVersionUID.

Constructor Detail

Literalback to summary
public Literal()