org.jboss.remoting.transport.servlet
Class ServletServerInvoker
java.lang.Object
org.jboss.remoting.AbstractInvoker
org.jboss.remoting.ServerInvoker
org.jboss.remoting.transport.web.WebServerInvoker
org.jboss.remoting.transport.servlet.ServletServerInvoker
- All Implemented Interfaces:
- Invoker, ServerInvokerMBean, ServletServerInvokerMBean
- public class ServletServerInvoker
- extends WebServerInvoker
- implements ServletServerInvokerMBean
The servlet based server invoker that receives the original http request
from the ServerInvokerServlet.
- Author:
- Tom Elrod
Method Summary |
protected java.lang.String |
getDefaultDataType()
|
java.lang.String |
getMBeanObjectName()
Returns the String for the object name to be used for the invoker. |
void |
processRequest(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Method to be called by the servlet to handle the incoming request. |
Methods inherited from class org.jboss.remoting.ServerInvoker |
addInvocationHandler, create, destroy, getClientConnectAddress, getClientConnectPort, getConfiguration, getDataType, getInvocationHandler, getInvocationHandlers, getMaxNumberOfOnewayThreads, getMBeanServer, getOnewayThreadPool, getServerBindAddress, getServerBindPort, getSupportedSubsystems, hasInvocationHandler, invoke, invoke, isStarted, postProcess, preProcess, removeInvocationHandler, setClientConnectAddress, setClientConnectPort, setConfiguration, setMaxNumberOfOnewayThreads, setMBeanServer, setOnewayThreadPool, setup, start, stop |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ServletServerInvoker
public ServletServerInvoker(InvokerLocator locator)
ServletServerInvoker
public ServletServerInvoker(InvokerLocator locator,
java.util.Map configuration)
getDefaultDataType
protected java.lang.String getDefaultDataType()
- Specified by:
getDefaultDataType
in class ServerInvoker
getMBeanObjectName
public java.lang.String getMBeanObjectName()
- Description copied from class:
ServerInvoker
- Returns the String for the object name to be used for the invoker.
- Overrides:
getMBeanObjectName
in class ServerInvoker
- Returns:
processRequest
public void processRequest(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException,
java.io.IOException
- Description copied from interface:
ServletServerInvokerMBean
- Method to be called by the servlet to handle the incoming request.
- Specified by:
processRequest
in interface ServletServerInvokerMBean
- Parameters:
request
- response
-
- Throws:
javax.servlet.ServletException
java.io.IOException
Copyright © 1998-2005 JBoss Inc . All Rights Reserved.