Uses of Class
jakarta.el.MethodExpression
-
Packages that use MethodExpression Package Description jakarta.el Provides the API for Jakarta Expression Language 5.0jakarta.faces.component jakarta.faces.event jakarta.faces.flow jakarta.faces.flow.builder jakarta.faces.validator jakarta.faces.view.facelets -
-
Uses of MethodExpression in jakarta.el
Methods in jakarta.el that return MethodExpression Modifier and Type Method Description abstract 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
Methods in jakarta.faces.component that return MethodExpression Modifier and Type Method Description MethodExpression
ActionSource2. 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.MethodExpression
UICommand. getActionExpression()
MethodExpression
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.MethodExpression
UIViewRoot. getAfterPhaseListener()
Return theMethodExpression
that will be invoked after this view is rendered.MethodExpression
UIViewRoot. getBeforePhaseListener()
Return theMethodExpression
that will be invoked before this view is rendered.Methods in jakarta.faces.component with parameters of type MethodExpression Modifier and Type Method Description void
ActionSource2. 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
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
Constructors in jakarta.faces.event with parameters of type MethodExpression Constructor Description MethodExpressionActionListener(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
Methods in jakarta.faces.flow that return MethodExpression Modifier and Type Method Description abstract 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
Methods in jakarta.faces.flow.builder with parameters of type MethodExpression Modifier and Type Method Description abstract 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
Constructors in jakarta.faces.validator with parameters of type MethodExpression Constructor Description MethodExpressionValidator(MethodExpression methodExpression)
Construct aValidator
that contains aMethodExpression
. -
Uses of MethodExpression in jakarta.faces.view.facelets
Methods in jakarta.faces.view.facelets that return MethodExpression Modifier and Type Method Description abstract MethodExpression
TagAttribute. getMethodExpression(FaceletContext ctx, Class type, Class[] paramTypes)
Create a MethodExpression, using this attribute's value as the expression String.
-