de.netseeker.ejoe.handler
Interface ServerHandler
- All Superinterfaces:
- java.io.Serializable
- All Known Implementing Classes:
- AssistedRemotingHandler, BaseRemotingHandler, ClassHandler, DefaultRemotingHandler, EchoHandler, MultiObjectHandler, PingHandler, ServerHandlerMapping
public interface ServerHandler
- extends java.io.Serializable
Simple interface defining the entry point for all server handlers. Server handlers are the working horses which the
caller must implement. Server handlers take the transported input objects send by the client application and return
none, one or more return values.
- Since:
- 0.3.0
- Author:
- netseeker aka Michael Manske
Method Summary |
java.lang.Object |
handle(java.lang.Object obj)
Handles a client request |
handle
java.lang.Object handle(java.lang.Object obj)
throws java.lang.Exception
- Handles a client request
- Parameters:
obj
- The input object transported by EJOE
- Returns:
- null or an valid return value. If you want return custom datatypes, eg. your own beans and don't want (or
are not able) to deploy the classes of these datatypes on the client you can turn on EJOEs remote
classloading feature.
- Throws:
java.lang.Exception
Copyright © 2005-2007 netseeker. All Rights Reserved.