Annotation Type ManagedProperty
@Qualifier @Target(FIELD) @Retention(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.
Taken to be the value that is injected into the field.
- the value.