[cdi-dev] Controlling the Interceptor chain

Pete Muir pmuir at redhat.com
Mon Sep 22 05:37:44 EDT 2014


Hi Mohan,

This is probably better discussed on the Interceptors expert group. Not sure how that is functioning this time around, will try to check.

Pete

On 20 Sep 2014, at 16:21, Mohan Radhakrishnan <radhakrishnan.mohan at gmail.com> wrote:

> Hi,
>        I have read the older CDI and interceptor spec. but not very thoroughly. 
> 
> Does control over how methods are intercepted using the following rules make it more useful ?
> 
> 1. Intercept only the top-level call and not recursive calls.
> 
> 2. Intercept and decorate "call 1" if it happens within "call 2" and not "call 3". Specify one type of combination of interceptions but not the other.
> 
> I hope these are not orthogonal to the spec. They are features of AOP I know.
>  
> 
> Thanks,
> Mohan
> _______________________________________________
> cdi-dev mailing list
> cdi-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/cdi-dev
> 
> Note that for all code provided on this list, the provider licenses the code under the Apache License, Version 2 (http://www.apache.org/licenses/LICENSE-2.0.html). For all other ideas provided on this list, the provider waives all patent and other intellectual property rights inherent in such information.




More information about the cdi-dev mailing list