org.exolab.jms.net.http
Class AbstractHTTPManagedConnectionFactory

java.lang.Object
  |
  +--org.exolab.jms.net.http.AbstractHTTPManagedConnectionFactory
All Implemented Interfaces:
ManagedConnectionFactory
Direct Known Subclasses:
HTTPManagedConnectionFactory, HTTPSManagedConnectionFactory

public abstract class AbstractHTTPManagedConnectionFactory
extends java.lang.Object
implements ManagedConnectionFactory

Abstract implementation of the ManagedConnectionFactory interface, for HTTP and HTTPS connectors.

Version:
$Revision: 1.4 $ $Date: 2005/05/27 13:58:02 $
Author:
Tim Anderson

Constructor Summary
AbstractHTTPManagedConnectionFactory()
           
 
Method Summary
 ManagedConnectionAcceptor matchManagedConnectionAcceptors(java.util.List acceptors, ConnectionRequestInfo info)
          Returns a matched connection acceptor from the candidate set of acceptors.
 ManagedConnection matchManagedConnections(java.util.List connections, java.security.Principal principal, ConnectionRequestInfo info)
          Returns a matched connection from the candidate set of connections.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.exolab.jms.net.connector.ManagedConnectionFactory
createConnectionFactory, createManagedConnection, createManagedConnectionAcceptor
 

Constructor Detail

AbstractHTTPManagedConnectionFactory

public AbstractHTTPManagedConnectionFactory()
Method Detail

matchManagedConnections

public ManagedConnection matchManagedConnections(java.util.List connections,
                                                 java.security.Principal principal,
                                                 ConnectionRequestInfo info)
                                          throws ResourceException
Returns a matched connection from the candidate set of connections.
Specified by:
matchManagedConnections in interface ManagedConnectionFactory
Parameters:
connections - the candidate connections
principal - the security principal
info - the connection request info
Returns:
the first acceptable match, or null if none is found
Throws:
ResourceException - for any error

matchManagedConnectionAcceptors

public ManagedConnectionAcceptor matchManagedConnectionAcceptors(java.util.List acceptors,
                                                                 ConnectionRequestInfo info)
                                                          throws ResourceException
Returns a matched connection acceptor from the candidate set of acceptors.
Specified by:
matchManagedConnectionAcceptors in interface ManagedConnectionFactory
Parameters:
acceptors - the candidate connection acceptors
info - the connection request info
Returns:
the first acceptable match, or null if none is found
Throws:
ResourceException - for any error


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