org.jacorb.orb.giop
Class TransportManager

java.lang.Object
  extended byorg.jacorb.orb.giop.TransportManager
All Implemented Interfaces:
org.apache.avalon.framework.configuration.Configurable

public class TransportManager
extends java.lang.Object
implements org.apache.avalon.framework.configuration.Configurable

This class manages Transports. On the one hand it creates them, and on the other it enforces an upper limit on the open transports.

Version:
$Id: TransportManager.java,v 1.21 2005/11/15 14:19:31 andre.spiegel Exp $
Author:
Nicolas Noffke

Constructor Summary
TransportManager(ORB orb)
           
 
Method Summary
 void configure(org.apache.avalon.framework.configuration.Configuration myConfiguration)
           
 Factories getFactories(int tag)
          Returns an ETF Factories object for the given tag, or null if no Factories class has been defined for this tag.
 java.util.List getFactoriesList()
          Returns a list of Factories for all configured transport plugins, in the same order as they were specified in the jacorb.transport.factories property.
 ProfileSelector getProfileSelector()
           
 SocketFactory getSocketFactory()
           
 SocketFactoryManager getSocketFactoryManager()
           
 SocketFactory getSSLSocketFactory()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TransportManager

public TransportManager(ORB orb)
Method Detail

configure

public void configure(org.apache.avalon.framework.configuration.Configuration myConfiguration)
               throws org.apache.avalon.framework.configuration.ConfigurationException
Specified by:
configure in interface org.apache.avalon.framework.configuration.Configurable
Throws:
org.apache.avalon.framework.configuration.ConfigurationException

getProfileSelector

public ProfileSelector getProfileSelector()

getSocketFactoryManager

public SocketFactoryManager getSocketFactoryManager()

getSocketFactory

public SocketFactory getSocketFactory()

getSSLSocketFactory

public SocketFactory getSSLSocketFactory()

getFactories

public Factories getFactories(int tag)
Returns an ETF Factories object for the given tag, or null if no Factories class has been defined for this tag.


getFactoriesList

public java.util.List getFactoriesList()
Returns a list of Factories for all configured transport plugins, in the same order as they were specified in the jacorb.transport.factories property.