org.firebirdsql.pool

Interface PooledConnectionEventListener

All Superinterfaces:
ConnectionEventListener
Known Implementing Classes:
AbstractDriverConnectionPoolDataSource, AbstractFBConnectionPoolDataSource

public interface PooledConnectionEventListener
extends ConnectionEventListener

Event listener that is notified about the events in the javax.sql.PooledConnection.
Author:
Roman Rokytskyy

Method Summary

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

Method Details

physicalConnectionClosed

public void physicalConnectionClosed(ConnectionEvent event)
Notify listener that javax.sql.PooledConnection.close() method is directly invoked by the application.
Parameters:
event - instance of ConnectionEvent containing the instance of javax.sql.PooledConnection that generated this event.

physicalConnectionDeallocated

public void physicalConnectionDeallocated(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 B) 2001 David Jencks and other authors. All rights reserved.