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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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 acceptfactory - the managed connection factorymanager - 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 supportsacceptScheme - the accept scheme that this factory supportsfactory - the managed connection factorymanager - the connection manager
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 addressproperties - 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.