Spring Web Flow

org.springframework.webflow.action
Class DefaultMultiActionMethodResolver

java.lang.Object
  extended by org.springframework.webflow.action.DefaultMultiActionMethodResolver
All Implemented Interfaces:
MultiAction.MethodResolver

public class DefaultMultiActionMethodResolver
extends java.lang.Object
implements MultiAction.MethodResolver

Default method resolver used by the MultiAction class. It uses the following algorithm to calculate a method name:

  1. If the currently executing action has a "method" property defined, use the value as method name.
  2. Else use the name of the current state of the flow execution as a method name.

Author:
Erwin Vervaet
See Also:
MultiAction

Constructor Summary
DefaultMultiActionMethodResolver()
           
 
Method Summary
 java.lang.String resolveMethod(RequestContext context)
          Resolve a method name from given flow execution request context.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultMultiActionMethodResolver

public DefaultMultiActionMethodResolver()
Method Detail

resolveMethod

public java.lang.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

Spring Web Flow