public interface ConnectionManager extends Serializable
Modifier and Type | Method and Description |
---|---|
Object |
allocateConnection(ManagedConnectionFactory mcf,
ConnectionRequestInfo cxRequestInfo)
Gets called by the resource adapter's connection factory.
|
Object allocateConnection(ManagedConnectionFactory mcf, ConnectionRequestInfo cxRequestInfo) throws ResourceException
mcf
- the managed connection factorycxRequestInfo
- the connection request infoResourceException
- for an generic errorApplicationServerInternalException
- for problems in the application serverSecurityException
- for security problemsResourceAllocationException
- for problems allocating resourcesResourceAdapterInternalException
- for errors from the resource adapterCopyright © 2013 JBoss by Red Hat. All rights reserved.