Thread: [c3p0-users] How to Register a ResourcePoolListener
Status: Beta
Brought to you by:
swaldman
From: baris a. <bar...@gm...> - 2013-07-18 06:03:49
|
Hi all, Maybe i am missing the obvious but i couldn't figure out how to register a custom ResourcePoolListener which implements com.mchange.v2.resourcepool.ResourcePoolListener. I thought there should exist a configuration parameter like "resourcePoolListenerClassName" but i couldn't locate it. Basically i want to be notified on resourceRequired, resourceCheckedOut, resourceCheckedIn, and resourceRemoved events and act accordingly. Any help will be appreciated. Thanks in advance, Baris. |