org.jboss.remoting.transport.http.ssl
Class HTTPSServerInvoker
java.lang.Object
org.jboss.remoting.AbstractInvoker
org.jboss.remoting.ServerInvoker
org.jboss.remoting.transport.web.WebServerInvoker
org.jboss.remoting.transport.http.HTTPServerInvoker
org.jboss.remoting.transport.http.ssl.HTTPSServerInvoker
- All Implemented Interfaces:
- Invoker, java.lang.Runnable, ServerInvokerMBean
- public class HTTPSServerInvoker
- extends HTTPServerInvoker
Extension of the HTTPserverInvoker which uses a custom server socket
which is created using custom server socket factory that can support SSL.
- Author:
- Tom Elrod
Method Summary |
protected java.net.ServerSocket |
createServerSocket(int serverBindPort,
int backlog,
java.net.InetAddress bindAddress)
|
void |
setServerSocketFactory(javax.net.ServerSocketFactory serverSocketFactory)
Sets the server socket factory for the SocketServerInvoker to use. |
Methods inherited from class org.jboss.remoting.ServerInvoker |
addInvocationHandler, create, destroy, getClientConnectAddress, getClientConnectPort, getConfiguration, getDataType, getInvocationHandler, getInvocationHandlers, getMaxNumberOfOnewayThreads, getMBeanObjectName, getMBeanServer, getOnewayThreadPool, getServerBindAddress, getServerBindPort, getSupportedSubsystems, hasInvocationHandler, invoke, invoke, isStarted, postProcess, preProcess, removeInvocationHandler, setClientConnectAddress, setClientConnectPort, setConfiguration, setMaxNumberOfOnewayThreads, setMBeanServer, setOnewayThreadPool |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
serverSocketFactory
protected javax.net.ServerSocketFactory serverSocketFactory
HTTPSServerInvoker
public HTTPSServerInvoker(InvokerLocator locator)
HTTPSServerInvoker
public HTTPSServerInvoker(InvokerLocator locator,
java.util.Map configuration)
createServerSocket
protected java.net.ServerSocket createServerSocket(int serverBindPort,
int backlog,
java.net.InetAddress bindAddress)
throws java.io.IOException
- Overrides:
createServerSocket
in class HTTPServerInvoker
- Throws:
java.io.IOException
setServerSocketFactory
public void setServerSocketFactory(javax.net.ServerSocketFactory serverSocketFactory)
- Sets the server socket factory for the SocketServerInvoker to use.
Can produce normal server socket or ssl server socket, depending
on implementation passed.
- Parameters:
serverSocketFactory
-
Copyright © 1998-2005 JBoss Inc . All Rights Reserved.