org.openorb.orb.ssl
Class SSLTransportClientInitializer

java.lang.Object
  extended by org.apache.avalon.framework.logger.AbstractLogEnabled
      extended by org.openorb.orb.iiop.IIOPTransportClientInitializer
          extended by org.openorb.orb.ssl.SSLTransportClientInitializer
All Implemented Interfaces:
org.apache.avalon.framework.logger.LogEnabled, org.openorb.orb.Initializer, org.openorb.orb.net.TransportClientInitializer

public class SSLTransportClientInitializer
extends org.openorb.orb.iiop.IIOPTransportClientInitializer

Intial the SSL server side and listens for incomming connections.

Author:
Chris Wood

Constructor Summary
SSLTransportClientInitializer()
          Default constructor.
 
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.
 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
 

Constructor Detail

SSLTransportClientInitializer

public SSLTransportClientInitializer()
Default constructor.

Method Detail

getName

public java.lang.String getName()
Return the name of the initializer.

Specified by:
getName in interface org.openorb.orb.Initializer
Overrides:
getName in class org.openorb.orb.iiop.IIOPTransportClientInitializer
Returns:
The initialier name: ssl-client-init.

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.

Specified by:
establishTransports in interface org.openorb.orb.net.TransportClientInitializer
Overrides:
establishTransports in class org.openorb.orb.iiop.IIOPTransportClientInitializer
Parameters:
addresses - An array with existing addresses.
Returns:
New list of addresses.