KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > inversoft > verge > mvc > test > UserRegistrationActionHandler


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.controller.Action;
11
12
13 /**
14  * <p>
15  * This is a test action handler
16  * </p>
17  *
18  * @author Brian Pontarelli
19  * @since 2.0
20  * @version 2.0
21  */

22 public class UserRegistrationActionHandler {
23     
24     public static boolean called = false;
25
26
27     public Object JavaDoc handleRegister(Action action) {
28         called = true;
29         return "success";
30     }
31 }
32
Popular Tags