Interface ConnectionManager
-
- All Superinterfaces:
jakarta.resource.spi.ConnectionManager
,Serializable
- All Known Implementing Classes:
ConnectionManagerImpl
,LazyAssociatableConnectionManagerImpl
,LazyEnlistableConnectionManagerImpl
public interface ConnectionManager extends jakarta.resource.spi.ConnectionManager
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Object
allocateNonTxConnection(jakarta.resource.spi.ManagedConnectionFactory mcf, jakarta.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
-
-
-
Method Detail
-
allocateNonTxConnection
Object allocateNonTxConnection(jakarta.resource.spi.ManagedConnectionFactory mcf, jakarta.resource.spi.ConnectionRequestInfo cxRequestInfo) throws jakarta.resource.ResourceException
API for internal glassfish modules (eg: jdbcra) to get a connection that does not take part in transaction.- Parameters:
mcf
- ManagedConnectionFactorycxRequestInfo
- ConnectionRequestInfo- Returns:
- Connection
- Throws:
jakarta.resource.ResourceException
- when unable to provide a connection
-
getJndiName
String getJndiName()
provides the JndiName of the resource- Returns:
- jndi name
-
-