1 /* 2 * Copyright (c) 2003, Inversoft 3 * 4 * This software is distribuable under the GNU Lesser General Public License. 5 * For more information visit gnu.org. 6 */ 7 package com.inversoft.verge.mvc.test; 8 9 10 import com.inversoft.verge.mvc.MVCException; 11 import com.inversoft.verge.mvc.MVCRequest; 12 import com.inversoft.verge.mvc.controller.ControllerHandler; 13 import com.inversoft.verge.mvc.controller.Result; 14 15 16 /** 17 * <p> 18 * This class is a test implementation 19 * </p> 20 * 21 * @author Brian Pontarelli 22 * @since 2.0 23 * @version 2.0 24 */ 25 public class TestControllerHandler implements ControllerHandler { 26 27 /** 28 * Constructs a new <code>TestControllerHandler</code>. 29 */ 30 public TestControllerHandler() { 31 } 32 33 34 /** 35 * Empty for testing 36 * 37 * @param mvcRequest The MVCRequest to use when calling the Controller 38 * system 39 * @throws com.inversoft.verge.mvc.MVCException If there were any problems during execution 40 */ 41 public void preExecute(MVCRequest mvcRequest) throws MVCException { 42 } 43 44 /** 45 * Empty for testing 46 * 47 * @param mvcRequest The MVCRequest to use when calling the Controller 48 * system 49 * @throws com.inversoft.verge.mvc.MVCException If there were any problems during execution 50 */ 51 public Result execute(MVCRequest mvcRequest) throws MVCException { 52 return null; 53 } 54 }