Interface BadConnectionEventListener

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static 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.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void badConnectionClosed​(jakarta.resource.spi.ConnectionEvent evt)
      Resource adapters will signal that the connection being closed is bad.
      void connectionAbortOccurred​(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