Re: InterceptorListeners

2013-11-06 Thread Ali Akhtar
I'd be in favor of your proposal if it could be defined per package / per stack. On Wed, Nov 6, 2013 at 3:16 PM, Lukasz Lenart wrote: > 2013/11/6 Ali Akhtar : > > Right, but say you wanted to change the order slightly or insert one > > interceptor before / after one from

Re: InterceptorListeners

2013-11-06 Thread Ali Akhtar
Right, but say you wanted to change the order slightly or insert one interceptor before / after one from the top package. Now you'd have to copy the whole stack to the other package. On Wed, Nov 6, 2013 at 2:20 PM, Lukasz Lenart wrote: > 2013/11/5 Ali Akhtar : > > There's on

Re: InterceptorListeners

2013-11-05 Thread Ali Akhtar
There's one case where it may be useful to have these listeners. Suppose if you have a lot of packages, and you just need to modify one or two interceptors in each package. You would have to paste your whole interceptor stack in order to do this. I think this feature could be useful for such cases

Re: InterceptorListeners

2013-11-05 Thread Ali Akhtar
It could be useful, especially for the interceptors in the default stack. On Tue, Nov 5, 2013 at 1:58 PM, Lukasz Lenart wrote: > Hi, > > What do you think about adding possibility to create listeners which > will be executed before/after given interceptor? > > Something like this: > > public int