org.exolab.jms.net.socket
Class SocketConnectionFactory

java.lang.Object
  |
  +--org.exolab.jms.net.connector.AbstractConnectionFactory
        |
        +--org.exolab.jms.net.socket.SocketConnectionFactory
All Implemented Interfaces:
ConnectionFactory

public abstract class SocketConnectionFactory
extends AbstractConnectionFactory

A factory for establishing and accepting socket connections.

Version:
$Revision: 1.7 $ $Date: 2005/05/03 13:45:59 $
Author:
Tim Anderson

Fields inherited from class org.exolab.jms.net.connector.AbstractConnectionFactory
PROPERTY_PREFIX
 
Constructor Summary
SocketConnectionFactory(java.lang.String scheme, ManagedConnectionFactory factory, ConnectionManager manager)
          Construct a new SocketConnectionFactory.
SocketConnectionFactory(java.lang.String connectScheme, java.lang.String acceptScheme, ManagedConnectionFactory factory, ConnectionManager manager)
          Construct a new SocketConnectionFactory.
 
Method Summary
protected  ConnectionRequestInfo getConnectionRequestInfo(URI uri, java.util.Map properties)
          Returns connection request info for the specified URI and connection properties.
 
Methods inherited from class org.exolab.jms.net.connector.AbstractConnectionFactory
accept, accept, canAccept, canConnect, getAcceptorRequestInfo, getConnection, getConnection, getConnectionManager, getManagedConnectionFactory, getProperties
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SocketConnectionFactory

public SocketConnectionFactory(java.lang.String scheme,
                               ManagedConnectionFactory factory,
                               ConnectionManager manager)
Construct a new SocketConnectionFactory.
Parameters:
scheme - the scheme that this factory supports, for both connect and accept
factory - the managed connection factory
manager - the connection manager

SocketConnectionFactory

public SocketConnectionFactory(java.lang.String connectScheme,
                               java.lang.String acceptScheme,
                               ManagedConnectionFactory factory,
                               ConnectionManager manager)
Construct a new SocketConnectionFactory.
Parameters:
connectScheme - the connect scheme that this factory supports
acceptScheme - the accept scheme that this factory supports
factory - the managed connection factory
manager - the connection manager
Method Detail

getConnectionRequestInfo

protected ConnectionRequestInfo getConnectionRequestInfo(URI uri,
                                                         java.util.Map properties)
                                                  throws ResourceException
Returns connection request info for the specified URI and connection properties.
Overrides:
getConnectionRequestInfo in class AbstractConnectionFactory
Parameters:
uri - the connection address
properties - connection properties. If null, use the default connection properties
Returns:
connection request info corresponding to uri and properties
Throws:
ResourceException - for any error


Copyright © 1999-2007 The OpenJMS Group. All Rights Reserved.