org.openorb.orb.csiv2
Class CSITransportClientInitializer
java.lang.Object
|
+--org.apache.avalon.framework.logger.AbstractLogEnabled
|
+--org.openorb.orb.iiop.IIOPTransportClientInitializer
|
+--org.openorb.orb.csiv2.CSITransportClientInitializer
- All Implemented Interfaces:
- org.openorb.orb.Initializer, org.apache.avalon.framework.logger.LogEnabled, org.openorb.orb.net.TransportClientInitializer
- public class CSITransportClientInitializer
- extends org.openorb.orb.iiop.IIOPTransportClientInitializer
An initializer that is used for establishing client side connections to SSL or IIOP
endpoints based on configuration options.
- Author:
- Michael Rumpf
|
Method Summary |
org.openorb.orb.net.Address[] |
establishTransports(org.openorb.orb.net.Address[] addresses)
Set the MessageTransport constructor for each of the addresses. |
java.lang.String |
getName()
Return the name of the initializer: csiv2-client-init. |
void |
init(org.omg.PortableInterceptor.ORBInitInfo orbinfo,
org.openorb.orb.pi.FeatureInitInfo featureinfo)
Initialize the client side. |
| Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled |
enableLogging, getLogger, setupLogger, setupLogger, setupLogger |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CSITransportClientInitializer
public CSITransportClientInitializer()
- Default Constructor.
getName
public java.lang.String getName()
- Return the name of the initializer: csiv2-client-init.
- Overrides:
getName in class org.openorb.orb.iiop.IIOPTransportClientInitializer
- Returns:
- The name of the intializer.
init
public void init(org.omg.PortableInterceptor.ORBInitInfo orbinfo,
org.openorb.orb.pi.FeatureInitInfo featureinfo)
- Initialize the client side.
- Overrides:
init in class org.openorb.orb.iiop.IIOPTransportClientInitializer
- Parameters:
orbinfo - The ORB init info.featureinfo - The ORB features.
establishTransports
public org.openorb.orb.net.Address[] establishTransports(org.openorb.orb.net.Address[] addresses)
- Set the MessageTransport constructor for each of the addresses.
All the addresses will be alternative endpoints from a single IOR profile.
- Overrides:
establishTransports in class org.openorb.orb.iiop.IIOPTransportClientInitializer
- Parameters:
addresses - An array with existing addresses.- Returns:
- New list of addresses.