public interface ConnectionManager
extends javax.resource.spi.ConnectionManager
Modifier and Type | Method and Description |
---|---|
Object |
allocateNonTxConnection(javax.resource.spi.ManagedConnectionFactory mcf,
javax.resource.spi.ConnectionRequestInfo cxRequestInfo)
API for internal glassfish modules (eg: jdbcra) to get a connection that does not take part
in transaction.
|
String |
getJndiName()
provides the JndiName of the resource
|
Object allocateNonTxConnection(javax.resource.spi.ManagedConnectionFactory mcf, javax.resource.spi.ConnectionRequestInfo cxRequestInfo) throws javax.resource.ResourceException
mcf
- ManagedConnectionFactorycxRequestInfo
- ConnectionRequestInfojavax.resource.ResourceException
- when unable to provide a connectionString getJndiName()
Copyright © 2018. All rights reserved.