Interface BadConnectionEventListener
-
- All Known Implementing Classes:
ConnectionEventListener,LocalTxConnectionEventListener,UnpooledConnectionEventListener
public interface BadConnectionEventListenerInteface for resource adapters to signal that the connection being closed is bad. Custom api- Author:
- Jagadish Ramu
-
-
Field Summary
Fields Modifier and Type Field Description static StringPOOL_RECONFIGURED_ERROR_CODEError code used to indicate that the pool is reconfigured and the client can retry to do operations based on based on new configuration.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidbadConnectionClosed(jakarta.resource.spi.ConnectionEvent evt)Resource adapters will signal that the connection being closed is bad.voidconnectionAbortOccurred(jakarta.resource.spi.ConnectionEvent evt)Resource adapters will signal that the connection is being aborted.
-
-
-
Field Detail
-
POOL_RECONFIGURED_ERROR_CODE
static final String POOL_RECONFIGURED_ERROR_CODE
Error code used to indicate that the pool is reconfigured and the client can retry to do operations based on based on new configuration. Used for dynamic-resource-reconfiguration- See Also:
- Constant Field Values
-
-
Method Detail
-
badConnectionClosed
void badConnectionClosed(jakarta.resource.spi.ConnectionEvent evt)
Resource adapters will signal that the connection being closed is bad. Custom api- Parameters:
evt- ConnectionEvent
-
connectionAbortOccurred
void connectionAbortOccurred(jakarta.resource.spi.ConnectionEvent evt)
Resource adapters will signal that the connection is being aborted.- Parameters:
evt- ConnectionEvent
-
-