org.exolab.jms.net.http
Class HTTPManagedConnectionFactory

java.lang.Object
  |
  +--org.exolab.jms.net.http.AbstractHTTPManagedConnectionFactory
        |
        +--org.exolab.jms.net.http.HTTPManagedConnectionFactory
All Implemented Interfaces:
ManagedConnectionFactory

public class HTTPManagedConnectionFactory
extends AbstractHTTPManagedConnectionFactory

A factory for HTTPConnectionFactory and HTTPManagedConnection instances

Version:
$Revision: 1.3 $ $Date: 2005/03/23 12:34:06 $
Author:
Tim Anderson

Constructor Summary
HTTPManagedConnectionFactory()
           
 
Method Summary
 ConnectionFactory createConnectionFactory(ConnectionManager manager)
          Creates a new connection factory
 ManagedConnection createManagedConnection(java.security.Principal principal, ConnectionRequestInfo info)
          Creates a new connection
 ManagedConnectionAcceptor createManagedConnectionAcceptor(Authenticator authenticator, ConnectionRequestInfo info)
          Creates an acceptor for connections
 
Methods inherited from class org.exolab.jms.net.http.AbstractHTTPManagedConnectionFactory
matchManagedConnectionAcceptors, matchManagedConnections
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HTTPManagedConnectionFactory

public HTTPManagedConnectionFactory()
Method Detail

createConnectionFactory

public ConnectionFactory createConnectionFactory(ConnectionManager manager)
                                          throws ResourceException
Creates a new connection factory
Parameters:
manager - the connection manager
Returns:
a new connection factory
Throws:
ResourceException - if the factory cannot be created

createManagedConnection

public ManagedConnection createManagedConnection(java.security.Principal principal,
                                                 ConnectionRequestInfo info)
                                          throws ResourceException
Creates a new connection
Parameters:
principal - the security principal
info - the connection request info
Returns:
a new connection
Throws:
ResourceException - if a connection cannot be established

createManagedConnectionAcceptor

public ManagedConnectionAcceptor createManagedConnectionAcceptor(Authenticator authenticator,
                                                                 ConnectionRequestInfo info)
                                                          throws ResourceException
Creates an acceptor for connections
Parameters:
authenticator - authenticates incoming connections
info - the connection request info
Returns:
a new connection acceptor
Throws:
ResourceException - if an acceptor cannot be created


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