Re: [pool] Interceptors

2015-08-08 Thread James Carman
Yep, same thing I said back in the day. Would we want it to be a true "interceptor" or more of a "listener"? On Sat, Aug 8, 2015 at 8:18 PM Phil Steitz wrote: > On 8/8/15 5:04 PM, James Carman wrote: > > We talked about this a while back with respect to logging,, having a > > PoolListener interf

Re: [pool] Interceptors

2015-08-08 Thread Phil Steitz
On 8/8/15 5:04 PM, James Carman wrote: > We talked about this a while back with respect to logging,, having a > PoolListener interface or something. Right. That could be one use. The nice thing there is the interceptor could bring in whatever logging / event propagation infrastructure it wanted

Re: [pool] Interceptors

2015-08-08 Thread James Carman
We talked about this a while back with respect to logging,, having a PoolListener interface or something. On Sat, Aug 8, 2015 at 7:36 PM Phil Steitz wrote: > Tomcat's jdbc-pool has an interceptor feature that allows custom > code to be inserted into methods called on connections managed by > the

[pool] Interceptors

2015-08-08 Thread Phil Steitz
Tomcat's jdbc-pool has an interceptor feature that allows custom code to be inserted into methods called on connections managed by the pool. In [pool], we have the core infrastructure to support this in a generic way via the ProxiedObjectPool. I propose that we extend this to allow users to confi