Package jakarta.faces.annotation
Annotation Interface ManagedProperty
The presence of this annotation (along with @Inject
) on a field of any type causes the value returned from
evaluating an expression language expression to be injected as the value of that field.
This expression will be evaluated using Application.evaluateExpressionGet(jakarta.faces.context.FacesContext, String, Class)
,
which in turn implies that the FacesContext.getCurrentInstance()
must be available at the moment of the evaluation.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
Supports inline instantiation of theManagedProperty
qualifier. -
Required Element Summary
-
Element Details
-
value
String valueTaken to be the value that is injected into the field.
- Returns:
- the value.
-