java.lang.Object
jakarta.faces.flow.FlowNode
jakarta.faces.flow.MethodCallNode
- Direct Known Subclasses:
MethodCallNodeImpl
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 a null
return from the invocation, getOutcome()
is called. If the
result is non-null
, its getValue()
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 its toString
method. Use outcome to determine the next node in the flow graph.
- Since:
- 2.2
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract MethodExpression
Return theMethodExpression
to be invoked to when control passes to this node.abstract ValueExpression
Return theoutcome
to be used in the event of anull
return from the method.Return the parameters to be passed to the method.
-
Constructor Details
-
MethodCallNode
public MethodCallNode()
-
-
Method Details
-
getMethodExpression
Return the
MethodExpression
to be invoked to when control passes to this node.- Returns:
- the
MethodExpression
to be invoked to when control passes to this node - Since:
- 2.2
-
getOutcome
Return the
outcome
to be used in the event of anull
return from the method.- Returns:
- the
outcome
- Since:
- 2.2
-
getParameters
-