org.exolab.jms.net.connector
Interface ConnectionManager
- All Known Implementing Classes:
- AbstractConnectionManager
- public interface ConnectionManager
Manages the creation and acceptance of connections
- Version:
- $Revision: 1.1 $ $Date: 2004/11/26 01:51:03 $
- Author:
- Tim Anderson
allocateConnection
public Connection allocateConnection(ManagedConnectionFactory factory,
java.security.Principal principal,
ConnectionRequestInfo info)
throws ResourceException
- Allocate a new connection
- Parameters:
factory
- used to delegate connection matching/creationprincipal
- the security principalinfo
- connection request info- Returns:
- the new connection
- Throws:
ResourceException
- if the connection cannot be allocated
accept
public void accept(ManagedConnectionFactory factory,
ConnectionRequestInfo info)
throws ResourceException
- Start accepting connections
- Parameters:
factory
- used to delegate acceptor matching/creationinfo
- connection request info- Throws:
ResourceException
- if the connections cannot be accepted
Copyright © 1999-2007 The OpenJMS Group. All Rights Reserved.