org.firebirdsql.pool
Interface PooledConnectionEventListener

All Superinterfaces:
javax.sql.ConnectionEventListener, java.util.EventListener
All Known Implementing Classes:
AbstractDriverConnectionPoolDataSource, AbstractFBConnectionPoolDataSource

public interface PooledConnectionEventListener
extends javax.sql.ConnectionEventListener

Event listener that is notified about the events in the PooledConnection.

Author:
Roman Rokytskyy

Method Summary
 void physicalConnectionClosed(javax.sql.ConnectionEvent event)
          Notify listener that PooledConnection.close() method is directly invoked by the application.
 void physicalConnectionDeallocated(javax.sql.ConnectionEvent event)
          Notify listener that PooledObject.deallocate() method is invoked by the application.
 
Methods inherited from interface javax.sql.ConnectionEventListener
connectionClosed, connectionErrorOccurred
 

Method Detail

physicalConnectionClosed

void physicalConnectionClosed(javax.sql.ConnectionEvent event)
Notify listener that PooledConnection.close() method is directly invoked by the application.

Parameters:
event - instance of ConnectionEvent containing the instance of PooledConnection that generated this event.

physicalConnectionDeallocated

void physicalConnectionDeallocated(javax.sql.ConnectionEvent event)
Notify listener that PooledObject.deallocate() method is invoked by the application.

Parameters:
event - instance of ConnectionEvent containing the instance of PooledObject that generated this event.


Copyright © 2001 David Jencks and other authors. All rights reserved.