org.springframework.webflow.action
Class DefaultMultiActionMethodResolver
java.lang.Object
org.springframework.webflow.action.DefaultMultiActionMethodResolver
- All Implemented Interfaces:
- MultiAction.MethodResolver
public class DefaultMultiActionMethodResolver
- extends Object
- implements 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:
MultiAction
DefaultMultiActionMethodResolver
public DefaultMultiActionMethodResolver()
resolveMethod
public String resolveMethod(RequestContext context)
- Description copied from interface:
MultiAction.MethodResolver
- Resolve a method name from given flow execution request context.
- Specified by:
resolveMethod
in interface MultiAction.MethodResolver
- Parameters:
context
- the flow execution request context
- Returns:
- the name of the method that should handle action execution