org.apache.cayenne.remote.hessian.service
Class HessianService
java.lang.Object
org.apache.cayenne.remote.service.BaseRemoteService
org.apache.cayenne.remote.service.HttpRemoteService
org.apache.cayenne.remote.hessian.service.HessianService
- All Implemented Interfaces:
- com.caucho.services.server.Service, Remote, RemoteService
public class HessianService
- extends HttpRemoteService
- implements com.caucho.services.server.Service
An implementation of RemoteService using binary Hessian protocol. For more info on
Hessian see http://www.caucho.com/resin-3.0/protocols/hessian.xtp.
- Since:
- 1.2
- Author:
- Andrus Adamchik
- See Also:
HessianServlet
,
RemoteService
Method Summary |
void |
destroy()
|
protected HttpSession |
getSession(boolean create)
Returns an HttpSession associated with the current request in progress. |
void |
init(ServletConfig config)
Extracts parameters from ServletConfig and initializes the service. |
Methods inherited from class org.apache.cayenne.remote.service.BaseRemoteService |
createChannel, createRemoteSession, destroyService, establishSession, establishSharedSession, getEventBridgeFactoryName, getEventBridgeParameters, getRootChannel, initCayenneStack, initEventBridgeParameters, initService, processMessage |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SERVER_SERIALIZER_FACTORIES
public static final String[] SERVER_SERIALIZER_FACTORIES
HessianService
public HessianService()
init
public void init(ServletConfig config)
throws ServletException
- Extracts parameters from ServletConfig and initializes the service.
- Specified by:
init
in interface com.caucho.services.server.Service
- Throws:
ServletException
getSession
protected HttpSession getSession(boolean create)
- Description copied from class:
HttpRemoteService
- Returns an HttpSession associated with the current request in progress.
- Specified by:
getSession
in class HttpRemoteService
destroy
public void destroy()
- Specified by:
destroy
in interface com.caucho.services.server.Service
Copyright © 2001-2007 Apache Cayenne. All Rights Reserved.