org.exolab.jms.net.http
Class AbstractHTTPConnectionFactory

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

public class AbstractHTTPConnectionFactory
extends AbstractConnectionFactory

A factory for establishing and accepting HTTP/HTTPS connections.

Version:
$Revision: 1.5 $ $Date: 2005/05/03 13:45:58 $
Author:
Tim Anderson

Fields inherited from class org.exolab.jms.net.connector.AbstractConnectionFactory
PROPERTY_PREFIX
 
Constructor Summary
AbstractHTTPConnectionFactory(java.lang.String connectScheme, java.lang.String acceptScheme, ManagedConnectionFactory factory, ConnectionManager manager)
          Construct a new AbstractHTTPConnectionFactory.
 
Method Summary
protected  ConnectionRequestInfo getAcceptorRequestInfo(URI uri, java.util.Map properties)
          Returns connection request info for the specified URI and connection acceptor properties.
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, 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

AbstractHTTPConnectionFactory

public AbstractHTTPConnectionFactory(java.lang.String connectScheme,
                                     java.lang.String acceptScheme,
                                     ManagedConnectionFactory factory,
                                     ConnectionManager manager)
Construct a new AbstractHTTPConnectionFactory.
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 - the connection properties. If null, use the default connection properties
Returns:
connection request info corresponding to uri and properties
Throws:
ResourceException - for any error

getAcceptorRequestInfo

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


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