Class LocalTxConnectionEventListener
- java.lang.Object
-
- com.sun.enterprise.resource.listener.ConnectionEventListener
-
- com.sun.enterprise.resource.listener.LocalTxConnectionEventListener
-
- All Implemented Interfaces:
BadConnectionEventListener,jakarta.resource.spi.ConnectionEventListener,EventListener
public class LocalTxConnectionEventListener extends ConnectionEventListener
- Author:
- Binod P.G
-
-
Field Summary
-
Fields inherited from interface com.sun.appserv.connectors.internal.spi.BadConnectionEventListener
POOL_RECONFIGURED_ERROR_CODE
-
-
Constructor Summary
Constructors Constructor Description LocalTxConnectionEventListener(ResourceHandle resource)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidassociateHandle(Object c, ResourceHandle h)voidbadConnectionClosed(jakarta.resource.spi.ConnectionEvent evt)Resource adapters will signal that the connection being closed is bad.voidconnectionClosed(jakarta.resource.spi.ConnectionEvent evt)voidconnectionErrorOccurred(jakarta.resource.spi.ConnectionEvent evt)voidlocalTransactionCommitted(jakarta.resource.spi.ConnectionEvent evt)voidlocalTransactionRolledback(jakarta.resource.spi.ConnectionEvent evt)voidlocalTransactionStarted(jakarta.resource.spi.ConnectionEvent evt)ResourceHandleremoveAssociation(Object c)voidresetAssociations()-
Methods inherited from class com.sun.enterprise.resource.listener.ConnectionEventListener
connectionAbortOccurred
-
-
-
-
Constructor Detail
-
LocalTxConnectionEventListener
public LocalTxConnectionEventListener(ResourceHandle resource)
-
-
Method Detail
-
connectionClosed
public void connectionClosed(jakarta.resource.spi.ConnectionEvent evt)
-
connectionErrorOccurred
public void connectionErrorOccurred(jakarta.resource.spi.ConnectionEvent evt)
-
badConnectionClosed
public void badConnectionClosed(jakarta.resource.spi.ConnectionEvent evt)
Resource adapters will signal that the connection being closed is bad.- Specified by:
badConnectionClosedin interfaceBadConnectionEventListener- Overrides:
badConnectionClosedin classConnectionEventListener- Parameters:
evt- ConnectionEvent
-
localTransactionStarted
public void localTransactionStarted(jakarta.resource.spi.ConnectionEvent evt)
-
localTransactionCommitted
public void localTransactionCommitted(jakarta.resource.spi.ConnectionEvent evt)
-
localTransactionRolledback
public void localTransactionRolledback(jakarta.resource.spi.ConnectionEvent evt)
-
associateHandle
public void associateHandle(Object c, ResourceHandle h)
-
removeAssociation
public ResourceHandle removeAssociation(Object c)
-
resetAssociations
public void resetAssociations() throws jakarta.resource.ResourceException- Throws:
jakarta.resource.ResourceException
-
-