org.jboss.remoting.transport.sslrmi
Class SSLRMIServerInvoker

java.lang.Object
  extended byorg.jboss.remoting.AbstractInvoker
      extended byorg.jboss.remoting.ServerInvoker
          extended byorg.jboss.remoting.transport.rmi.RMIServerInvoker
              extended byorg.jboss.remoting.transport.sslrmi.SSLRMIServerInvoker
All Implemented Interfaces:
Invoker, java.rmi.Remote, RMIServerInvokerInf, ServerInvokerMBean

public class SSLRMIServerInvoker
extends RMIServerInvoker

Version:
$Revision: 1.1 $

Copyright (c) Jun 9, 2006

Author:
Ron Sigal

Nested Class Summary
 
Nested classes inherited from class org.jboss.remoting.ServerInvoker
ServerInvoker.InvalidStateException
 
Field Summary
 
Fields inherited from class org.jboss.remoting.transport.rmi.RMIServerInvoker
BACKLOG_DEFAULT, DEFAULT_REGISTRY_PORT, REGISTRY_PORT_KEY
 
Fields inherited from class org.jboss.remoting.ServerInvoker
callbackHandlers, CLIENT_CONNECT_ADDRESS_KEY, CLIENT_CONNECT_PORT_KEY, CLIENT_LEASE_PERIOD, clientCallbackListener, DEFAULT_CLIENT_LEASE_PERIOD, DEFAULT_TIMEOUT_PERIOD, handlers, MAX_NUM_ONEWAY_THREADS, MAX_NUM_ONEWAY_THREADS_KEY, ONEWAY_THREAD_POOL_CLASS_KEY, SERVER_BIND_ADDRESS_KEY, SERVER_BIND_PORT_KEY, SERVER_SOCKET_FACTORY, serverSocketFactory, TIMEOUT
 
Fields inherited from class org.jboss.remoting.AbstractInvoker
classbyteloader, configuration, localServerLocators, locator, log, serializationType, socketFactory, socketFactoryCreatedFromSSLParameters
 
Constructor Summary
SSLRMIServerInvoker(InvokerLocator locator)
           
SSLRMIServerInvoker(InvokerLocator locator, java.util.Map configuration)
           
 
Method Summary
protected  javax.net.SocketFactory createSocketFactory(java.util.Map configuration)
          If any configuration parameters relate to the construction of a SSLSocketBuilder, create one.
protected  javax.net.ServerSocketFactory getDefaultServerSocketFactory()
          Gets the default server socket factory to use for the server invoker.
protected  java.rmi.server.RMIClientSocketFactory getRMIClientSocketFactory(java.lang.String ignored)
           
 
Methods inherited from class org.jboss.remoting.transport.rmi.RMIServerInvoker
destroy, finalize, getDefaultDataType, getDefaultSocketFactory, getStub, isTransportBiDirectional, start, transport
 
Methods inherited from class org.jboss.remoting.ServerInvoker
addConnectionListener, addInvocationHandler, create, createServerSocketFactory, getClientConnectAddress, getClientConnectPort, getConfiguration, getDataType, getInvocationHandler, getInvocationHandlers, getLeasePeriod, getMaxNumberOfOnewayThreads, getMBeanObjectName, getMBeanServer, getOnewayThreadPool, getServerBindAddress, getServerBindPort, getServerSocketFactory, getSupportedSubsystems, getTimeout, hasInvocationHandler, invoke, invoke, isLeaseActivated, isStarted, justNeedsSSLClientMode, postProcess, preProcess, removeCallbackListener, removeConnectionListener, removeInvocationHandler, setClientConnectAddress, setClientConnectPort, setConfiguration, setLeasePeriod, setMaxNumberOfOnewayThreads, setMBeanServer, setOnewayThreadPool, setServerSocketFactory, setTimeout, setup, stop
 
Methods inherited from class org.jboss.remoting.AbstractInvoker
addClientLocator, getClassLoader, getClientLocator, getLocator, getSerializationType, getSocketFactory, isSocketFactoryCreatedFromSSLParameters, needsCustomSSLConfiguration, setClassLoader, setSerializationType, setSocketFactory
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SSLRMIServerInvoker

public SSLRMIServerInvoker(InvokerLocator locator)

SSLRMIServerInvoker

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

getRMIClientSocketFactory

protected java.rmi.server.RMIClientSocketFactory getRMIClientSocketFactory(java.lang.String ignored)
Overrides:
getRMIClientSocketFactory in class RMIServerInvoker

getDefaultServerSocketFactory

protected javax.net.ServerSocketFactory getDefaultServerSocketFactory()
                                                               throws java.io.IOException
Description copied from class: ServerInvoker
Gets the default server socket factory to use for the server invoker. The intention is this method will be overridden by sub-classes for their specific defaults.

Overrides:
getDefaultServerSocketFactory in class ServerInvoker
Returns:
Throws:
java.io.IOException

createSocketFactory

protected javax.net.SocketFactory createSocketFactory(java.util.Map configuration)
Description copied from class: AbstractInvoker
If any configuration parameters relate to the construction of a SSLSocketBuilder, create one.

Overrides:
createSocketFactory in class AbstractInvoker
Parameters:
configuration -
Returns:


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