org.codehaus.waffle.controller
Class ScriptedControllerDefinitionFactory

java.lang.Object
  extended by org.codehaus.waffle.controller.ContextControllerDefinitionFactory
      extended by org.codehaus.waffle.controller.ScriptedControllerDefinitionFactory
All Implemented Interfaces:
ControllerDefinitionFactory

public abstract class ScriptedControllerDefinitionFactory
extends ContextControllerDefinitionFactory

A scriptspecific extension to the ContextControllerDefinitionFactory ..

Author:
Michael Ward

Field Summary
 
Fields inherited from class org.codehaus.waffle.controller.ContextControllerDefinitionFactory
messageResources
 
Constructor Summary
ScriptedControllerDefinitionFactory(MethodDefinitionFinder methodDefinitionFinder, ControllerNameResolver controllerNameResolver, MethodNameResolver methodNameResolver, ControllerMonitor controllerMonitor, MessageResources messageResources)
           
 
Method Summary
protected abstract  java.lang.reflect.Method findExecuteMethod()
           
protected  java.lang.reflect.Method findMethod(java.lang.String methodName, java.lang.Class<?> controllerClass)
           
protected  MethodDefinition findMethodDefinition(java.lang.Object controller, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
 
Methods inherited from class org.codehaus.waffle.controller.ContextControllerDefinitionFactory
findController, getControllerDefinition
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ScriptedControllerDefinitionFactory

public ScriptedControllerDefinitionFactory(MethodDefinitionFinder methodDefinitionFinder,
                                           ControllerNameResolver controllerNameResolver,
                                           MethodNameResolver methodNameResolver,
                                           ControllerMonitor controllerMonitor,
                                           MessageResources messageResources)
Method Detail

findMethodDefinition

protected MethodDefinition findMethodDefinition(java.lang.Object controller,
                                                javax.servlet.http.HttpServletRequest request,
                                                javax.servlet.http.HttpServletResponse response)
Overrides:
findMethodDefinition in class ContextControllerDefinitionFactory

findMethod

protected java.lang.reflect.Method findMethod(java.lang.String methodName,
                                              java.lang.Class<?> controllerClass)

findExecuteMethod

protected abstract java.lang.reflect.Method findExecuteMethod()


Copyright © 2008. All Rights Reserved.