Package jakarta.faces.annotation
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 usingApplication.evaluateExpressionGet(jakarta.faces.context.FacesContext, String, Class)
, which in turn implies that theFacesContext.getCurrentInstance()
must be available at the moment of the evaluation.
-
-
Element Detail
-
value
String value
Taken to be the value that is injected into the field.
- Returns:
- the value.
-
-