Uses of Class
jakarta.el.MethodExpression
Package
Description
Provides the API for Jakarta Expression Language 6.0
-
Uses of MethodExpression in jakarta.el
Modifier and TypeMethodDescriptionabstract MethodExpression
ExpressionFactory.createMethodExpression
(ELContext context, String expression, Class<?> expectedReturnType, Class<?>[] expectedParamTypes) Parses an expression into aMethodExpression
for later evaluation. -
Uses of MethodExpression in jakarta.faces.component
Modifier and TypeMethodDescriptiondefault MethodExpression
ActionSource.getActionExpression()
Return theMethodExpression
pointing at the application action to be invoked, if thisUIComponent
is activated by the user, during the Apply Request Values or Invoke Application phase of the request processing lifecycle, depending on the value of theimmediate
property.ActionSource2.getActionExpression()
Deprecated, for removal: This API element is subject to removal in a future version.Return theMethodExpression
pointing at the application action to be invoked, if thisUIComponent
is activated by the user, during the Apply Request Values or Invoke Application phase of the request processing lifecycle, depending on the value of theimmediate
property.UICommand.getActionExpression()
UIViewAction.getActionExpression()
Return theMethodExpression
pointing at the application action to be invoked, if thisUIComponent
is activated by the user, during the Apply Request Values or Invoke Application phase of the request processing lifecycle, depending on the value of theimmediate
property.UIViewRoot.getAfterPhaseListener()
Return theMethodExpression
that will be invoked after this view is rendered.UIViewRoot.getBeforePhaseListener()
Return theMethodExpression
that will be invoked before this view is rendered.Modifier and TypeMethodDescriptiondefault void
ActionSource.setActionExpression
(MethodExpression action) Set theMethodExpression
pointing at the appication action to be invoked, if thisUIComponent
is activated by the user, during the Apply Request Values or Invoke Application phase of the request processing lifecycle, depending on the value of theimmediate
property.void
ActionSource2.setActionExpression
(MethodExpression action) Deprecated, for removal: This API element is subject to removal in a future version.Set theMethodExpression
pointing at the appication action to be invoked, if thisUIComponent
is activated by the user, during the Apply Request Values or Invoke Application phase of the request processing lifecycle, depending on the value of theimmediate
property.void
UICommand.setActionExpression
(MethodExpression actionExpression) void
UIViewAction.setActionExpression
(MethodExpression actionExpression) Set theMethodExpression
pointing at the appication action to be invoked, if thisUIComponent
is activated by the user, during the Apply Request Values or Invoke Application phase of the request processing lifecycle, depending on the value of theimmediate
property.void
UIViewRoot.setAfterPhaseListener
(MethodExpression newAfterPhase) Allow an arbitrary method to be called for the "afterPhase" event as the UIViewRoot runs through its lifecycle.void
UIViewRoot.setBeforePhaseListener
(MethodExpression newBeforePhase) Allow an arbitrary method to be called for the "beforePhase" event as the UIViewRoot runs through its lifecycle. -
Uses of MethodExpression in jakarta.faces.event
ModifierConstructorDescriptionMethodExpressionActionListener
(MethodExpression methodExpressionOneArg) Construct aValueChangeListener
that contains aMethodExpression
.MethodExpressionActionListener
(MethodExpression methodExpressionOneArg, MethodExpression methodExpressionZeroArg) MethodExpressionValueChangeListener
(MethodExpression methodExpressionOneArg) Construct aValueChangeListener
that contains aMethodExpression
.To accommodate method expression targets that take no arguments instead of taking aValueChangeEvent
argument, the implementation of this class must take the argumentmethodExpressionOneArg
, extract its expression string, and create anotherMethodExpression
whose expected param types match those of a zero argument method.MethodExpressionValueChangeListener
(MethodExpression methodExpressionOneArg, MethodExpression methodExpressionZeroArg) Construct aValueChangeListener
that contains aMethodExpression
. -
Uses of MethodExpression in jakarta.faces.flow
Modifier and TypeMethodDescriptionabstract MethodExpression
Flow.getFinalizer()
Return theMethodExpression
that must be called by the runtime as the last thing that happens before exiting this flow.abstract MethodExpression
Flow.getInitializer()
Return theMethodExpression
that must be called by the runtime immediately after activating anyFlowScoped
beans declared for this flow.abstract MethodExpression
MethodCallNode.getMethodExpression()
Return theMethodExpression
to be invoked to when control passes to this node. -
Uses of MethodExpression in jakarta.faces.flow.builder
Modifier and TypeMethodDescriptionabstract MethodCallBuilder
MethodCallBuilder.expression
(MethodExpression methodExpression) Set the method expression of this method call node.abstract FlowBuilder
FlowBuilder.finalizer
(MethodExpression methodExpression) A MethodExpression that will be invoked when the flow is exited.abstract FlowBuilder
FlowBuilder.initializer
(MethodExpression methodExpression) A MethodExpression that will be invoked when the flow is entered. -
Uses of MethodExpression in jakarta.faces.validator
ModifierConstructorDescriptionMethodExpressionValidator
(MethodExpression methodExpression) Construct aValidator
that contains aMethodExpression
. -
Uses of MethodExpression in jakarta.faces.view.facelets
Modifier and TypeMethodDescriptionabstract MethodExpression
TagAttribute.getMethodExpression
(FaceletContext ctx, Class type, Class[] paramTypes) Create a MethodExpression, using this attribute's value as the expression String.