@Qualifier @Target(value=FIELD) @Retention(value=RUNTIME) public @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.
Modifier and Type | Required Element and Description |
---|---|
java.lang.String |
value
Taken to be the value that is injected into the field. |