01: /*
02: DBPool - JDBC Connection Pool Manager
03: Copyright (c) Giles Winstanley
04: */
05: package snaq.db;
06:
07: import snaq.util.ObjectPoolEventAdapter;
08:
09: /**
10: * Adapter implementation for handling PoolEvents for an ObjectPool.
11: * Provides null implementations of all listener methods so a sub-class can
12: * simply override the ones required.
13: * @author Giles Winstanley
14: */
15: public class ConnectionPoolEventAdapter extends ObjectPoolEventAdapter
16: implements ConnectionPoolListener {
17: public void validationError(ConnectionPoolEvent evt) {
18: }
19:
20: public void poolCheckOut(ConnectionPoolEvent evt) {
21: }
22:
23: public void poolCheckIn(ConnectionPoolEvent evt) {
24: }
25:
26: public void maxPoolLimitReached(ConnectionPoolEvent evt) {
27: }
28:
29: public void maxPoolLimitExceeded(ConnectionPoolEvent evt) {
30: }
31:
32: public void maxSizeLimitReached(ConnectionPoolEvent evt) {
33: }
34:
35: public void maxSizeLimitError(ConnectionPoolEvent evt) {
36: }
37:
38: public void poolParametersChanged(ConnectionPoolEvent evt) {
39: }
40:
41: public void poolReleased(ConnectionPoolEvent evt) {
42: }
43: }
|