org.codehaus.enunciate.modules.gwt
Class GWTEndpointImpl
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
com.google.gwt.user.server.rpc.RemoteServiceServlet
org.codehaus.enunciate.modules.gwt.GWTEndpointImpl
- All Implemented Interfaces:
- com.google.gwt.user.server.rpc.SerializationPolicyProvider, java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig
public abstract class GWTEndpointImpl
- extends com.google.gwt.user.server.rpc.RemoteServiceServlet
Base implementation for a GWT endpoint.
- Author:
- Ryan Heaton
- See Also:
- Serialized Form
|
Constructor Summary |
protected |
GWTEndpointImpl(java.lang.Object serviceBean)
|
| Methods inherited from class com.google.gwt.user.server.rpc.RemoteServiceServlet |
doGetSerializationPolicy, doPost, getSerializationPolicy, getThreadLocalRequest, getThreadLocalResponse, onAfterResponseSerialized, onBeforeRequestDeserialized, processCall, readContent, shouldCompressResponse |
| 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, log, log |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
serviceBean
protected java.lang.Object serviceBean
GWTEndpointImpl
protected GWTEndpointImpl(java.lang.Object serviceBean)
init
public void init(javax.servlet.ServletConfig servletConfig)
throws javax.servlet.ServletException
- Specified by:
init in interface javax.servlet.Servlet- Overrides:
init in class javax.servlet.GenericServlet
- Throws:
javax.servlet.ServletException
invokeOperation
protected final java.lang.Object invokeOperation(java.lang.String operationName,
java.lang.Object... params)
throws java.lang.Exception
- Throws:
java.lang.Exception
doUnexpectedFailure
protected void doUnexpectedFailure(java.lang.Throwable throwable)
- Overrides:
doUnexpectedFailure in class com.google.gwt.user.server.rpc.RemoteServiceServlet
setSecurityChecker
public void setSecurityChecker(SecurityExceptionChecker securityChecker)
- Set the security exception checker.
- Parameters:
securityChecker - The security exception checker.
getServiceInterface
protected abstract java.lang.Class getServiceInterface()
- The service interface.
- Returns:
- The service interface.