cgl.narada.transport.ssl
Class SSLTransportFactoryJSSEImpl

java.lang.Object
  extended by cgl.narada.transport.ssl.SSLTransportFactoryJSSEImpl
All Implemented Interfaces:
TransportFactory

public class SSLTransportFactoryJSSEImpl
extends Object
implements TransportFactory

Version:
1.1

Constructor Summary
SSLTransportFactoryJSSEImpl()
           
 
Method Summary
 Transport accept()
          -----------------------------------------------------------------
 Transport createTransportInstance()
          -----------------------------------------------------------------
 void initialize()
          ----------------------------------------------------------------- Starts a listening socket.
 void setProperties(Properties properties)
          ----------------------------------------------------------------- Parameters: listenerport - The port to listen on truststore - Location of the trusted authorities database keystore - Location of the public/private key database truststorePassword - Password to the truststore keystorePassword - Password to the keystore username - Proxy authenticated user name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SSLTransportFactoryJSSEImpl

public SSLTransportFactoryJSSEImpl()
Method Detail

createTransportInstance

public Transport createTransportInstance()
-----------------------------------------------------------------

Specified by:
createTransportInstance in interface TransportFactory

setProperties

public void setProperties(Properties properties)
----------------------------------------------------------------- Parameters: listenerport - The port to listen on truststore - Location of the trusted authorities database keystore - Location of the public/private key database truststorePassword - Password to the truststore keystorePassword - Password to the keystore username - Proxy authenticated user name. password - Proxy authenticated password. https.proxyHost - The location of the HTTPS proxy. Will try to auto detect from System properties if this does not exist. https.proxyPort - The location of the HTTPS proxy port. Will try to auto detect from System properties if this does not exist. secure - true | false. If false, will not do any real SSL.

Specified by:
setProperties in interface TransportFactory

initialize

public void initialize()
                throws TransportException
----------------------------------------------------------------- Starts a listening socket.

Specified by:
initialize in interface TransportFactory
Throws:
TransportException

accept

public Transport accept()
                 throws TransportException
-----------------------------------------------------------------

Specified by:
accept in interface TransportFactory
Throws:
TransportException


For comments and suggestions please send e-mail to The NaradaBrokering Project