com.fatwire.gst.foundation.controller.annotation
Class ControllerMappingResolver
java.lang.Object
com.fatwire.gst.foundation.controller.annotation.ControllerMappingResolver
public class ControllerMappingResolver
- extends Object
This class resolves a specific method that handles a specific request as a
controller. The method needs to be annotated with the IcsVariable annotation
and need to accept one argument of type ICS.
The name of the method can be freely chosen. The method needs to have public
visibility.
- Since:
- Mar 21, 2011
- Author:
- Dolf Dijkstra
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ControllerMappingResolver
public ControllerMappingResolver()
findControllerMethod
public Method findControllerMethod(COM.FutureTense.Interfaces.ICS ics,
Object o)
- Parameters:
ics
- o
- object with method annotations of type IcsVariable
- Returns:
- the method with the IcsVariable annotation that has a match for
the name value pair as set in the annotation.
Copyright © 2010-2013 Oracle Corporation. All Rights Reserved.