javax.resource.spi
Interface ConnectionManager

All Superinterfaces:
Serializable

public interface ConnectionManager
extends Serializable

The ConnectionManager interface provides the hook which allows a resource adapter to pass a connection to the Application Server. The Application Server implements this interface in order to control QoS services to the resource adapter for connection pools.


Method Summary
 Object allocateConnection(ManagedConnectionFactory mcf, ConnectionRequestInfo cxRequestInfo)
          Gets called by the resource adapter's connection factory
 

Method Detail

allocateConnection

public Object allocateConnection(ManagedConnectionFactory mcf,
                                 ConnectionRequestInfo cxRequestInfo)
                          throws ResourceException
Gets called by the resource adapter's connection factory

Throws:
ResourceException


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.