org.codehaus.waffle.controller
Interface ControllerDefinitionFactory

All Known Implementing Classes:
ContextControllerDefinitionFactory, RubyControllerDefinitionFactory

public interface ControllerDefinitionFactory

Implementations of this interface are responsible for creating and maintaining the "controller" objects (pojo's).

Author:
Michael Ward

Method Summary
 ControllerDefinition getControllerDefinition(javax.servlet.http.HttpServletRequest servletRequest, javax.servlet.http.HttpServletResponse response)
          Implementors of this method should decipher the Servlet request passed in and provide the associated controller instance (pojo).
 

Method Detail

getControllerDefinition

ControllerDefinition getControllerDefinition(javax.servlet.http.HttpServletRequest servletRequest,
                                             javax.servlet.http.HttpServletResponse response)
Implementors of this method should decipher the Servlet request passed in and provide the associated controller instance (pojo). The instance of the Controller object and the key the controller was retrieved with are returned in an ControllerDefinition.



Copyright © 2008. All Rights Reserved.