com.sri.common.controller
Class TestStateHandler

java.lang.Object
  extended by com.sri.common.controller.TestStateHandler
All Implemented Interfaces:
StateHandler

public class TestStateHandler
extends Object
implements StateHandler

Title: EMO

Description:

Copyright: Copyright (c) 2003

Company:

Version:
1.0
Author:
Michael Rimov

Field Summary
 int handleRequestCalled
           
 
Constructor Summary
TestStateHandler(Controller owner)
           
 
Method Summary
 Controller getMyOwner()
           
 void handleRequest(ExpressoRequest request, ExpressoResponse response)
          Called to handle the request.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

handleRequestCalled

public int handleRequestCalled
Constructor Detail

TestStateHandler

public TestStateHandler(Controller owner)
Method Detail

getMyOwner

public Controller getMyOwner()

handleRequest

public void handleRequest(ExpressoRequest request,
                          ExpressoResponse response)
                   throws DBException,
                          ControllerException
Called to handle the request.

Specified by:
handleRequest in interface StateHandler
Parameters:
request - ExpressoRequest The Function's ExpressoRequest object.
response - ExpressoResponse The Function's ExpressoResponse object.
Throws:
DBException - upon underlying database exception error.
ControllerException - upon underlying ControllerException error.
NonHandleableException - if the state attempts a transition that throws a NonHandleableException


Copyright © 2004-2006 Codeguild, Inc.. All Rights Reserved.