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