public class ConnectionManagerImplementation extends Object implements javax.resource.spi.ConnectionManager
Constructor and Description |
---|
ConnectionManagerImplementation() |
Modifier and Type | Method and Description |
---|---|
Object |
allocateConnection(javax.resource.spi.ManagedConnectionFactory mcf,
javax.resource.spi.ConnectionRequestInfo info)
Returns a
Connection object to the ConnectionFactory |
public Object allocateConnection(javax.resource.spi.ManagedConnectionFactory mcf, javax.resource.spi.ConnectionRequestInfo info) throws javax.resource.ResourceException
Connection
object to the ConnectionFactory
allocateConnection
in interface javax.resource.spi.ConnectionManager
mcf
- ManagedConnectionFactory
object.info
- ConnectionRequestInfo
object.Connection
Object.javax.resource.ResourceException
- In case of an error in getting the Connection
.Copyright © 2021. All rights reserved.