org.jboss.remoting.transport.socket.ssl
Class SSLSocketServerInvoker

java.lang.Object
  extended byorg.jboss.remoting.AbstractInvoker
      extended byorg.jboss.remoting.ServerInvoker
          extended byorg.jboss.remoting.transport.socket.SocketServerInvoker
              extended byorg.jboss.remoting.transport.socket.ssl.SSLSocketServerInvoker
All Implemented Interfaces:
Invoker, java.lang.Runnable, ServerInvokerMBean, SocketServerInvokerMBean, SSLSocketServerInvokerMBean

public class SSLSocketServerInvoker
extends SocketServerInvoker
implements SSLSocketServerInvokerMBean

Author:
Tom Elrod

Field Summary
protected  javax.net.ServerSocketFactory serverSocketFactory
           
 
Fields inherited from class org.jboss.remoting.transport.socket.SocketServerInvoker
acceptThreads, backlog, clientpool, maxPoolSize, numAcceptThreads, running, SERVER_SOCKET_CLASS_FLAG, serverSocket, threadpool, timeout, trace
 
Fields inherited from class org.jboss.remoting.ServerInvoker
callbackHandlers, CLIENT_CONNECT_ADDRESS_KEY, CLIENT_CONNECT_PORT_KEY, handlers, MAX_NUM_ONEWAY_THREADS, MAX_NUM_ONEWAY_THREADS_KEY, ONEWAY_THREAD_POOL_CLASS_KEY, SERVER_BIND_ADDRESS_KEY, SERVER_BIND_PORT_KEY
 
Fields inherited from class org.jboss.remoting.AbstractInvoker
classbyteloader, localServerLocators, locator, log
 
Constructor Summary
SSLSocketServerInvoker(InvokerLocator locator)
           
SSLSocketServerInvoker(InvokerLocator locator, java.util.Map configuration)
           
 
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.transport.socket.SocketServerInvoker
destroy, finalize, getAddress, getBacklog, getCurrentClientPoolSize, getCurrentThreadPoolSize, getDefaultDataType, getMaxPoolSize, getNumAcceptThreads, getPort, getProperties, getSocketTimeout, isTransportBiDirectional, run, setBacklog, setMaxPoolSize, setNumAcceptThreads, setSocketTimeout, setup, start, stop
 
Methods inherited from class org.jboss.remoting.ServerInvoker
addInvocationHandler, create, 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 org.jboss.remoting.AbstractInvoker
addClientLocator, getClassLoader, getClientLocator, getLocator, setClassLoader
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.jboss.remoting.transport.socket.SocketServerInvokerMBean
getBacklog, getCurrentClientPoolSize, getCurrentThreadPoolSize, getMaxPoolSize, getNumAcceptThreads, getServerBindPort, getSocketTimeout, setBacklog, setMaxPoolSize, setNumAcceptThreads, setSocketTimeout, start, stop
 
Methods inherited from interface org.jboss.remoting.ServerInvokerMBean
create, destroy, getClientConnectAddress, getClientConnectPort, getConfiguration, getDataType, getServerBindAddress, isStarted, isTransportBiDirectional, setClientConnectAddress, setClientConnectPort, setConfiguration
 

Field Detail

serverSocketFactory

protected javax.net.ServerSocketFactory serverSocketFactory
Constructor Detail

SSLSocketServerInvoker

public SSLSocketServerInvoker(InvokerLocator locator)

SSLSocketServerInvoker

public SSLSocketServerInvoker(InvokerLocator locator,
                              java.util.Map configuration)
Method Detail

createServerSocket

protected java.net.ServerSocket createServerSocket(int serverBindPort,
                                                   int backlog,
                                                   java.net.InetAddress bindAddress)
                                            throws java.io.IOException
Overrides:
createServerSocket in class SocketServerInvoker
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.

Specified by:
setServerSocketFactory in interface SSLSocketServerInvokerMBean
Parameters:
serverSocketFactory -


Copyright © 1998-2005 JBoss Inc . All Rights Reserved.