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 MethodExpressionExpressionFactory. createMethodExpression(ELContext context, String expression, Class<?> expectedReturnType, Class<?>[] expectedParamTypes)Parses an expression into aMethodExpressionfor later evaluation. -
Uses of MethodExpression in jakarta.faces.component
Methods in jakarta.faces.component that return MethodExpression Modifier and Type Method Description MethodExpressionActionSource2. getActionExpression()Return theMethodExpressionpointing at the application action to be invoked, if thisUIComponentis activated by the user, during the Apply Request Values or Invoke Application phase of the request processing lifecycle, depending on the value of theimmediateproperty.MethodExpressionUICommand. getActionExpression()MethodExpressionUIViewAction. getActionExpression()Return theMethodExpressionpointing at the application action to be invoked, if thisUIComponentis activated by the user, during the Apply Request Values or Invoke Application phase of the request processing lifecycle, depending on the value of theimmediateproperty.MethodExpressionUIViewRoot. getAfterPhaseListener()Return theMethodExpressionthat will be invoked after this view is rendered.MethodExpressionUIViewRoot. getBeforePhaseListener()Return theMethodExpressionthat will be invoked before this view is rendered.Methods in jakarta.faces.component with parameters of type MethodExpression Modifier and Type Method Description voidActionSource2. setActionExpression(MethodExpression action)Set theMethodExpressionpointing at the appication action to be invoked, if thisUIComponentis activated by the user, during the Apply Request Values or Invoke Application phase of the request processing lifecycle, depending on the value of theimmediateproperty.voidUICommand. setActionExpression(MethodExpression actionExpression)voidUIViewAction. setActionExpression(MethodExpression actionExpression)Set theMethodExpressionpointing at the appication action to be invoked, if thisUIComponentis activated by the user, during the Apply Request Values or Invoke Application phase of the request processing lifecycle, depending on the value of theimmediateproperty.voidUIViewRoot. setAfterPhaseListener(MethodExpression newAfterPhase)Allow an arbitrary method to be called for the "afterPhase" event as the UIViewRoot runs through its lifecycle.voidUIViewRoot. 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 aValueChangeListenerthat contains aMethodExpression.MethodExpressionActionListener(MethodExpression methodExpressionOneArg, MethodExpression methodExpressionZeroArg)MethodExpressionValueChangeListener(MethodExpression methodExpressionOneArg)Construct aValueChangeListenerthat contains aMethodExpression.To accommodate method expression targets that take no arguments instead of taking aValueChangeEventargument, the implementation of this class must take the argumentmethodExpressionOneArg, extract its expression string, and create anotherMethodExpressionwhose expected param types match those of a zero argument method.MethodExpressionValueChangeListener(MethodExpression methodExpressionOneArg, MethodExpression methodExpressionZeroArg)Construct aValueChangeListenerthat contains aMethodExpression. -
Uses of MethodExpression in jakarta.faces.flow
Methods in jakarta.faces.flow that return MethodExpression Modifier and Type Method Description abstract MethodExpressionFlow. getFinalizer()Return theMethodExpressionthat must be called by the runtime as the last thing that happens before exiting this flow.abstract MethodExpressionFlow. getInitializer()Return theMethodExpressionthat must be called by the runtime immediately after activating anyFlowScopedbeans declared for this flow.abstract MethodExpressionMethodCallNode. getMethodExpression()Return theMethodExpressionto 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 MethodCallBuilderMethodCallBuilder. expression(MethodExpression methodExpression)Set the method expression of this method call node.abstract FlowBuilderFlowBuilder. finalizer(MethodExpression methodExpression)A MethodExpression that will be invoked when the flow is exited.abstract FlowBuilderFlowBuilder. 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 aValidatorthat 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 MethodExpressionTagAttribute. getMethodExpression(FaceletContext ctx, Class type, Class[] paramTypes)Create a MethodExpression, using this attribute's value as the expression String.
-