Class DefaultMultiActionMethodResolver
java.lang.Object
org.springframework.webflow.action.DefaultMultiActionMethodResolver
- All Implemented Interfaces:
MultiAction.MethodResolver
Default method resolver used by the MultiAction class. It uses the following algorithm to calculate a method name:
- If the currently executing action has a "method" property defined, use the value as method name.
- Else use the name of the current state of the flow execution as a method name.
- Author:
- Erwin Vervaet
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionresolveMethod
(RequestContext context) Resolve a method name from given flow execution request context.
-
Constructor Details
-
DefaultMultiActionMethodResolver
public DefaultMultiActionMethodResolver()
-
-
Method Details
-
resolveMethod
Description copied from interface:MultiAction.MethodResolver
Resolve a method name from given flow execution request context.- Specified by:
resolveMethod
in interfaceMultiAction.MethodResolver
- Parameters:
context
- the flow execution request context- Returns:
- the name of the method that should handle action execution
-