You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@deltaspike.apache.org by Heinz HUBER <he...@racon.at> on 2012/07/17 15:13:19 UTC

CDI-Spring-Bridge Interceptor

Hi,

what are the current plans for the CDI-Spring bridge concerning CDI 
interceptors?
Will there be a solution in one of the next versions of DeltaSpike?

Regards,
Heinz



Der Austausch von Nachrichten mit o.a. Absender via e-mail dient ausschließlich Informationszwecken. Rechtsgeschäftliche Erklärungen dürfen über dieses Medium nicht ausgetauscht werden.

Correspondence with a.m. sender via e-mail is only for information purposes. This medium is not to be used for the exchange of legally-binding communications.

Re: CDI-Spring-Bridge Interceptor

Posted by Marius Bogoevici <ma...@gmail.com>.
Hello Heinz,

We haven't started discussing the Spring features extensively, but as far as I know, none of the existing solutions has done something on the interceptor/decorator front. However, that doesn't mean that it isn't an interesting piece of functionality. What feature are you looking at:

a) using CDI (i.e. Java EE interceptors) as Spring aspects
b) re-using Spring aspects as CDI interceptors
 
or both?

In the current solutions, the bridging is done indirectly, in the sense that the already enhanced beans are injected on in each side, but I presume you'd like to see more than just that (i.e. a) and b)). Currently either can be done by either creating wrapper aspects in Spring (a) or wrapper interceptors in CDI (b). However, I'd assume that you'd like to see this done in a more automatic fashion.

It would be most helpful if you could describe how you would expect that feature to work and, essentially, your use case. 

Thanks,
Marius


On 2012-07-17, at 9:13 AM, Heinz HUBER wrote:

> Hi,
> 
> what are the current plans for the CDI-Spring bridge concerning CDI 
> interceptors?
> Will there be a solution in one of the next versions of DeltaSpike?
> 
> Regards,
> Heinz
> 
> 
> 
> Der Austausch von Nachrichten mit o.a. Absender via e-mail dient ausschließlich Informationszwecken. Rechtsgeschäftliche Erklärungen dürfen über dieses Medium nicht ausgetauscht werden.
> 
> Correspondence with a.m. sender via e-mail is only for information purposes. This medium is not to be used for the exchange of legally-binding communications.