org.jacorb.orb.giop
Class TransportManager
java.lang.Object
org.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.
The class also receives notifications from threads that are about do use a
Transport and notifies any interested listeners. "Use" is defined as
sending (or handling) a request.
- Version:
- $Id: TransportManager.java,v 1.28 2006/08/16 17:46:36 iliyan.jeliazkov Exp $
- Author:
- Nicolas Noffke
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TransportManager
public TransportManager(ORB orb)
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()
getFactories
public org.omg.ETF.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.
notifyTransportListeners
public void notifyTransportListeners(GIOPConnection giopc)
addTransportListener
public void addTransportListener(TransportListener tl)