Class UnpooledConnectionEventListener

  • All Implemented Interfaces:
    BadConnectionEventListener, jakarta.resource.spi.ConnectionEventListener, EventListener

    public class UnpooledConnectionEventListener
    extends ConnectionEventListener
    This class is a ConnectionEventListener for handling the "close" of a ManagedConnection that is not acquired through the appserver's pool. The ManagedConnection is simply destroyed after close is called Such an "unpooled" ManagedConnection is obtained for testConnectionPool and the ConnectorRuntime.getConnection() APIs
    Since:
    SJSAS 8.1
    Author:
    Aditya Gore
    • Constructor Detail

      • UnpooledConnectionEventListener

        public UnpooledConnectionEventListener()
    • Method Detail

      • connectionClosed

        public void connectionClosed​(jakarta.resource.spi.ConnectionEvent evt)
      • connectionErrorOccurred

        public void connectionErrorOccurred​(jakarta.resource.spi.ConnectionEvent evt)
      • 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)