Top Description Constructors Methods
javax.faces.flow

public abstract Class MethodCallNode

extends FlowNode
Class Inheritance
Imports
java.util.List, javax.el.MethodExpression, .ValueExpression

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

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public abstract MethodExpression

Returns:

the MethodExpression to be invoked to when control passes to this node
getMethodExpression
()

Return the MethodExpression to be invoked to when control passes to this node.

public abstract ValueExpression

Returns:

the outcome
getOutcome
()

Return the outcome to be used in the event of a null return from the method.

public abstract List<Parameter>

Returns:

the parameters to be passed to the method
getParameters
()

Return the parameters to be passed to the method.

Inherited from javax.faces.flow.FlowNode:
getId

Constructor Detail

MethodCallNodeback to summary
public MethodCallNode()

Method Detail

getMethodExpressionback to summary
public abstract MethodExpression getMethodExpression()

Return the MethodExpression to be invoked to when control passes to this node.

Returns:MethodExpression

the MethodExpression to be invoked to when control passes to this node

Since
2.2
getOutcomeback to summary
public abstract ValueExpression getOutcome()

Return the outcome to be used in the event of a null return from the method.

Returns:ValueExpression

the outcome

Since
2.2
getParametersback to summary
public abstract List<Parameter> getParameters()

Return the parameters to be passed to the method.

Returns:List<Parameter>

the parameters to be passed to the method

Since
2.2