com.sibvisions.rad.ui.gwt.server
Class BaseService

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet
              extended by com.google.gwt.user.server.rpc.RemoteServiceServlet
                  extended by com.sibvisions.rad.ui.gwt.server.BaseService
All Implemented Interfaces:
RemoteService, SerializationPolicyProvider, TypeMapService, Serializable, Servlet, ServletConfig
Direct Known Subclasses:
WebLauncherServiceImpl

public abstract class BaseService
extends RemoteServiceServlet
implements TypeMapService

The BaseService is the base class for all remote services. It handles the access to the application.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet
perThreadRequest, perThreadResponse
 
Constructor Summary
BaseService()
           
 
Method Summary
protected  WebLauncher getLauncher(String pClientId)
          Gets the application launcher.
protected  void setLauncher(String pClientId, WebLauncher pLauncher)
          Sets the application launcher.
 TypeMap typemap(TypeMap pTypes)
          An unused method for mapping all serializable types which are not supported without specifying.
 
Methods inherited from class com.google.gwt.user.server.rpc.RemoteServiceServlet
doGetSerializationPolicy, getSerializationPolicy, onAfterResponseSerialized, onBeforeRequestDeserialized, processCall, processPost, shouldCompressResponse
 
Methods inherited from class com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet
doPost, doUnexpectedFailure, getPermutationStrongName, getThreadLocalRequest, getThreadLocalResponse, onAfterRequestDeserialized, readContent
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doGet, doHead, doOptions, doPut, doTrace, getLastModified, service, service
 
Methods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BaseService

public BaseService()
Method Detail

typemap

public TypeMap typemap(TypeMap pTypes)
An unused method for mapping all serializable types which are not supported without specifying.

Specified by:
typemap in interface TypeMapService
Parameters:
pTypes - the type-map class
Returns:
the type-map class

getLauncher

protected WebLauncher getLauncher(String pClientId)
Gets the application launcher.

Parameters:
pClientId - the id of the client
Returns:
the WebLauncher

setLauncher

protected void setLauncher(String pClientId,
                           WebLauncher pLauncher)
Sets the application launcher.

Parameters:
pClientId - the id of the client
pLauncher - the WebLauncher


Copyright © 2009 SIB Visions GmbH. All Rights Reserved.