Class TSManagedConnection
java.lang.Object
com.sun.ts.tests.common.connector.whitebox.TSManagedConnection
- All Implemented Interfaces:
- jakarta.resource.spi.ManagedConnection
- 
Constructor SummaryConstructorsConstructorDescriptionTSManagedConnection(jakarta.resource.spi.ManagedConnectionFactory mcf, jakarta.resource.spi.security.PasswordCredential passCred, TSXAConnection xacon, TSConnection con, boolean supportsXA, boolean supportsLocalTx) 
- 
Method SummaryModifier and TypeMethodDescriptionvoidaddConnectionEventListener(jakarta.resource.spi.ConnectionEventListener listener) voidaddTSConnection(TSEISConnection jdbcCon) voidassociateConnection(Object connection) voidcleanup()voiddestroy()getConnection(Subject subject, jakarta.resource.spi.ConnectionRequestInfo connectionRequestInfo) jakarta.resource.spi.LocalTransactionjakarta.resource.spi.ManagedConnectionFactoryjakarta.resource.spi.ManagedConnectionMetaDatajakarta.resource.spi.security.PasswordCredentialvoidremoveConnectionEventListener(jakarta.resource.spi.ConnectionEventListener listener) voidremoveTSConnection(TSEISConnection jdbcCon) voidsetLogWriter(PrintWriter out) 
- 
Constructor Details- 
TSManagedConnectionpublic TSManagedConnection(jakarta.resource.spi.ManagedConnectionFactory mcf, jakarta.resource.spi.security.PasswordCredential passCred, TSXAConnection xacon, TSConnection con, boolean supportsXA, boolean supportsLocalTx) 
 
- 
- 
Method Details- 
getConnectionpublic Object getConnection(Subject subject, jakarta.resource.spi.ConnectionRequestInfo connectionRequestInfo) throws jakarta.resource.ResourceException - Specified by:
- getConnectionin interface- jakarta.resource.spi.ManagedConnection
- Throws:
- jakarta.resource.ResourceException
 
- 
destroypublic void destroy() throws jakarta.resource.ResourceException- Specified by:
- destroyin interface- jakarta.resource.spi.ManagedConnection
- Throws:
- jakarta.resource.ResourceException
 
- 
cleanuppublic void cleanup() throws jakarta.resource.ResourceException- Specified by:
- cleanupin interface- jakarta.resource.spi.ManagedConnection
- Throws:
- jakarta.resource.ResourceException
 
- 
associateConnection- Specified by:
- associateConnectionin interface- jakarta.resource.spi.ManagedConnection
- Throws:
- jakarta.resource.ResourceException
 
- 
addConnectionEventListenerpublic void addConnectionEventListener(jakarta.resource.spi.ConnectionEventListener listener) - Specified by:
- addConnectionEventListenerin interface- jakarta.resource.spi.ManagedConnection
 
- 
removeConnectionEventListenerpublic void removeConnectionEventListener(jakarta.resource.spi.ConnectionEventListener listener) - Specified by:
- removeConnectionEventListenerin interface- jakarta.resource.spi.ManagedConnection
 
- 
getXAResource- Specified by:
- getXAResourcein interface- jakarta.resource.spi.ManagedConnection
- Throws:
- jakarta.resource.ResourceException
 
- 
getLocalTransactionpublic jakarta.resource.spi.LocalTransaction getLocalTransaction() throws jakarta.resource.ResourceException- Specified by:
- getLocalTransactionin interface- jakarta.resource.spi.ManagedConnection
- Throws:
- jakarta.resource.ResourceException
 
- 
getMetaDatapublic jakarta.resource.spi.ManagedConnectionMetaData getMetaData() throws jakarta.resource.ResourceException- Specified by:
- getMetaDatain interface- jakarta.resource.spi.ManagedConnection
- Throws:
- jakarta.resource.ResourceException
 
- 
setLogWriter- Specified by:
- setLogWriterin interface- jakarta.resource.spi.ManagedConnection
- Throws:
- jakarta.resource.ResourceException
 
- 
getLogWriter- Specified by:
- getLogWriterin interface- jakarta.resource.spi.ManagedConnection
- Throws:
- jakarta.resource.ResourceException
 
- 
getTSConnection- Throws:
- jakarta.resource.ResourceException
 
- 
getPasswordCredentialpublic jakarta.resource.spi.security.PasswordCredential getPasswordCredential()
- 
removeTSConnection
- 
addTSConnection
- 
getManagedConnectionFactorypublic jakarta.resource.spi.ManagedConnectionFactory getManagedConnectionFactory()
 
-