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.
PATCHED to send exceptions back to the client instead of sending an error message which is breaking EJB calls - see line 145
To apply that patch you should copy this class over the original one in jboss remoting 1.4.3-GA
- Author:
- Tom Elrod
Fields inherited from class org.jboss.remoting.ServerInvoker |
BLOCKING, BLOCKING_MODE, BLOCKING_TIMEOUT, callbackHandlers, CLIENT_CONNECT_ADDRESS_KEY, CLIENT_CONNECT_PORT_KEY, CLIENT_LEASE_PERIOD, clientCallbackListener, connectionNotifier, DEFAULT_BLOCKING_TIMEOUT, DEFAULT_CLIENT_LEASE_PERIOD, DEFAULT_TIMEOUT_PERIOD, handlers, INVOKER_SESSION_ID, MAX_NUM_ONEWAY_THREADS, MAX_NUM_ONEWAY_THREADS_KEY, MAX_ONEWAY_THREAD_POOL_QUEUE_SIZE, NONBLOCKING, ONEWAY_THREAD_POOL_CLASS_KEY, REGISTER_CALLBACK_LISTENER, registerCallbackListeners, SERVER_BIND_ADDRESS_KEY, SERVER_BIND_PORT_KEY, SERVER_SOCKET_FACTORY, serverSocketFactory, singleCallbackContainer, singleHandler, started, TIMEOUT |
Methods inherited from class org.jboss.remoting.ServerInvoker |
addConnectionListener, addInvocationHandler, assignPort, create, createServerSocketFactory, destroy, getClientConnectAddress, getClientConnectPort, getConfiguration, getDataType, getDefaultServerSocketFactory, getInvocationHandler, getInvocationHandlers, getLease, getLeasePeriod, getMaxNumberOfOnewayThreads, getMBeanServer, getOnewayThreadPool, getServerBindAddress, getServerBindPort, getServerSocketFactory, getSupportedSubsystems, getTimeout, handleInternalInvocation, hasInvocationHandler, invoke, invoke, isLeaseActivated, isRegisterCallbackListeners, isStarted, justNeedsSSLClientMode, postProcess, preProcess, removeCallbackListener, removeConnectionListener, removeInvocationHandler, setClientConnectAddress, setClientConnectPort, setConfiguration, setLeasePeriod, setMaxNumberOfOnewayThreads, setMBeanServer, setOnewayThreadPool, setRegisterCallbackListeners, setServerSocketFactory, setTimeout, setup, start, stop, wrapServerSocketFactory |
Methods inherited from class org.jboss.remoting.AbstractInvoker |
addClientLocator, createSocketFactory, getClassLoader, getClientLocator, getClientLocators, getLocator, getSerializationType, getSocketFactory, isCompleteSocketFactory, isSocketFactoryCreatedFromSSLParameters, needsCustomSSLConfiguration, setClassLoader, setSerializationType, setSocketFactory, wrapSocketFactory |
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,
Map configuration)
getDefaultDataType
protected String getDefaultDataType()
- Overrides:
getDefaultDataType
in class WebServerInvoker
getMBeanObjectName
public String getMBeanObjectName()
- Overrides:
getMBeanObjectName
in class ServerInvoker
processRequest
public void processRequest(HttpServletRequest request,
HttpServletResponse response)
throws ServletException,
IOException
- Specified by:
processRequest
in interface ServletServerInvokerMBean
- Throws:
ServletException
IOException
processRequest
public byte[] processRequest(HttpServletRequest request,
byte[] requestByte,
HttpServletResponse response)
throws ServletException,
IOException
- Specified by:
processRequest
in interface ServletServerInvokerMBean
- Throws:
ServletException
IOException
Copyright © 2010 Nuxeo SAS. All Rights Reserved.