1 45 package org.exolab.jms.net.tcp; 46 47 import java.util.Map ; 48 49 import org.exolab.jms.net.connector.ConnectionManager; 50 import org.exolab.jms.net.connector.ConnectionRequestInfo; 51 import org.exolab.jms.net.connector.ResourceException; 52 import org.exolab.jms.net.socket.SocketConnectionFactory; 53 import org.exolab.jms.net.uri.URI; 54 55 56 62 class TCPSConnectionFactory extends SocketConnectionFactory { 63 64 67 private static final String SCHEME = "tcps"; 68 69 75 public TCPSConnectionFactory(TCPSManagedConnectionFactory factory, 76 ConnectionManager manager) { 77 super(SCHEME, factory, manager); 78 } 79 80 91 protected ConnectionRequestInfo getConnectionRequestInfo( 92 URI uri, Map properties) 93 throws ResourceException { 94 TCPSRequestInfo info; 95 if (properties != null) { 96 info = new TCPSRequestInfo(uri, getProperties(properties)); 97 } else { 98 info = new TCPSRequestInfo(uri); 99 } 100 return info; 101 } 102 103 } 104 | Popular Tags |