org.resthub.web.springmvc.router
Class RouterHandlerAdapter.RouterMethodResolver

java.lang.Object
  extended by org.springframework.web.bind.annotation.support.HandlerMethodResolver
      extended by org.resthub.web.springmvc.router.RouterHandlerAdapter.RouterMethodResolver
Enclosing class:
RouterHandlerAdapter

public class RouterHandlerAdapter.RouterMethodResolver
extends org.springframework.web.bind.annotation.support.HandlerMethodResolver

Resolve Controller and Action for the given route (that contains the fullAction "controller.action")

Author:
Brian Clozel

Constructor Summary
RouterHandlerAdapter.RouterMethodResolver()
           
 
Method Summary
 Method findActionMethod(String name, Object controller)
          Find the first public static method of a controller class
 
Methods inherited from class org.springframework.web.bind.annotation.support.HandlerMethodResolver
getActualSessionAttributeNames, getHandlerMethods, getInitBinderMethods, getModelAttributeMethods, getTypeLevelMapping, hasHandlerMethods, hasSessionAttributes, hasTypeLevelMapping, init, isHandlerMethod, isInitBinderMethod, isModelAttributeMethod, isSessionAttribute
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RouterHandlerAdapter.RouterMethodResolver

public RouterHandlerAdapter.RouterMethodResolver()
Method Detail

findActionMethod

public Method findActionMethod(String name,
                               Object controller)
Find the first public static method of a controller class

Parameters:
name - The method name
controller - The controller
Returns:
The method or null


Copyright © 2010-2012. All Rights Reserved.