1 /********************************************************************** 2 * ServerHandler.java 3 * created on 07.08.2004 by netseeker 4 * $Source: /cvsroot/ejoe/EJOE/src/de/netseeker/ejoe/handler/ServerHandler.java,v $ 5 * $Date: 2006/02/04 14:16:03 $ 6 * $Revision: 1.4 $ 7 *********************************************************************/ 8 9 package de.netseeker.ejoe.handler; 10 11 /*** 12 * Simple interface defining the entry point for all server handlers. Server 13 * handlers are the working horses which the caller must implement. Server 14 * handlers take the transported input objects send by the client application 15 * and return none, one or more return values. 16 * 17 * @author netseeker aka Michael Manske 18 */ 19 public interface ServerHandler 20 { 21 /*** 22 * Handles a client request 23 * 24 * @param obj 25 * The input object transported by EJOE 26 * @return null or an valid return value. If you want return custom 27 * datatypes, eg. your own beans and don't want (or are not able) to 28 * deploy the classes of these datatypes on the client you can turn 29 * on EJOEs remote classloading feature. 30 */ 31 public Object handle(Object obj) throws Exception; 32 }