| 
JSF-Spring | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.mindmatters.faces.spring.context.servlet.controller.ActionMethodNameResolver
public final class ActionMethodNameResolver
Simple implementation of MethodNameResolver that maps JSF Action outcomes to
 method names. This class is the default implementation used by the
 MultiActionEventController class.
 
 
 This class invokes the MethodBinding from the ActionSource
 exposed from the current ActionEvent and maps the evaluated outcome
 to a method name.
 
Examples:
<h:commandButton action="foo".../> evaluates to
 method name 'foo'<h:commandButton action="#{foo.bar}".../> invokes
 method bar on object foo and returns an outcome (a String) which will be used
 as method name
| Constructor Summary | |
|---|---|
ActionMethodNameResolver()
 | 
|
| Method Summary | |
|---|---|
 java.lang.String | 
getHandlerMethodName(javax.servlet.http.HttpServletRequest request)
Return a method name that can handle this request.  | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public ActionMethodNameResolver()
| Method Detail | 
|---|
public java.lang.String getHandlerMethodName(javax.servlet.http.HttpServletRequest request)
                                      throws NoSuchRequestHandlingMethodException
getHandlerMethodName in interface MethodNameResolverrequest - current HTTP request
null; throws exception if not resolvable.
NoSuchRequestHandlingMethodException - if no handler method
 can be found for the given request
  | 
JSF-Spring | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||