- java.lang.Object
-
- javax.faces.flow.FlowNode
-
- javax.faces.flow.MethodCallNode
-
public abstract class MethodCallNode extends FlowNode
Represents a method call node in the flow graph. When control passes to a method call node, its
MethodExpression
is invoked, passing any parameters. Let outcome be the value determined by the following algorithm. If there is anull
return from the invocation,getOutcome()
is called. If the result is non-null
, itsgetValue()
method is called and the value is considered to be outcome. If there is a non-null
return, let it be outcome. Convert outcome to a String by calling itstoString
method. Use outcome to determine the next node in the flow graph.- Since:
- 2.2
-
-
Constructor Summary
Constructors Constructor and Description MethodCallNode()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description abstract MethodExpression
getMethodExpression()
Return the
MethodExpression
to be invoked to when control passes to this node.abstract ValueExpression
getOutcome()
Return the
outcome
to be used in the event of anull
return from the method.abstract List<Parameter>
getParameters()
Return the parameters to be passed to the method.
-
Methods inherited from class javax.faces.flow.FlowNode
getId
-
-
-
-
Method Detail
-
getMethodExpression
public abstract MethodExpression getMethodExpression()
Return the
MethodExpression
to be invoked to when control passes to this node.- Since:
- 2.2
-
getOutcome
public abstract ValueExpression getOutcome()
Return the
outcome
to be used in the event of anull
return from the method.- Since:
- 2.2
-
-
Document created the 11/06/2005, last modified the 18/08/2025
Source of the printed document:https://www.gaudry.be/en/java-api-javaee-rf-javax/faces/flow/MethodCallNode.html
The infobrol is a personal site whose content is my sole responsibility. The text is available under CreativeCommons license (BY-NC-SA). More info on the terms of use and the author.
References
These references and links indicate documents consulted during the writing of this page, or which may provide additional information, but the authors of these sources can not be held responsible for the content of this page.
The author of this site is solely responsible for the way in which the various concepts, and the freedoms that are taken with the reference works, are presented here. Remember that you must cross multiple source information to reduce the risk of errors.