org.openorb.orb.csiv2
Class CSITransportClientInitializer

java.lang.Object
  extended by IIOPTransportClientInitializer
      extended by org.openorb.orb.csiv2.CSITransportClientInitializer

public class CSITransportClientInitializer
extends IIOPTransportClientInitializer

An initializer that is used for establishing client side connections to SSL or IIOP endpoints based on configuration options.

Author:
Michael Rumpf

Constructor Summary
CSITransportClientInitializer()
          Default Constructor.
 
Method Summary
 Address[] establishTransports(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, FeatureInitInfo featureinfo)
          Initialize the client side.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CSITransportClientInitializer

public CSITransportClientInitializer()
Default Constructor.

Method Detail

getName

public java.lang.String getName()
Return the name of the initializer: csiv2-client-init.

Returns:
The name of the intializer.

init

public void init(org.omg.PortableInterceptor.ORBInitInfo orbinfo,
                 FeatureInitInfo featureinfo)
Initialize the client side.

Parameters:
orbinfo - The ORB init info.
featureinfo - The ORB features.

establishTransports

public Address[] establishTransports(Address[] addresses)
Set the MessageTransport constructor for each of the addresses. All the addresses will be alternative endpoints from a single IOR profile.

Parameters:
addresses - An array with existing addresses.
Returns:
New list of addresses.