You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@aries.apache.org by Lin Sun <li...@gmail.com> on 2010/03/30 17:42:13 UTC
blueprint interceptor
Hi
I have a question on blueprint interceptor. Does the interceptor only
work on blueprint managed beans right now? Do we foresee any need to
add interceptor to other components (such as service, reference,
reference-list)?
Since blueprint transaction is built on top of blueprint interceptor,
I 'd assume the above answer also applies to blueprint transaction.
Please correct me if I am wrong.
Thanks
Lin
Re: blueprint interceptor
Posted by Lin Sun <li...@gmail.com>.
Hi Valentin
Thanks for the quick reply! I don't have a user case on component
other than bean and I think it makes sense to have blueprint
interceptor only on beans right now.
Lin
On Tue, Mar 30, 2010 at 1:02 PM, Valentin Mahrwald
<vm...@googlemail.com> wrote:
> On 30 Mar 2010, at 16:42, Lin Sun wrote:
>
>> Hi
>>
>> I have a question on blueprint interceptor. Does the interceptor only
>> work on blueprint managed beans right now? Do we foresee any need to
>> add interceptor to other components (such as service, reference,
>> reference-list)?
>
> Correct, currently interceptors are only supported on beans. There was a
> JIRA a while ago though for adding interceptors to references, but that got
> dropped because there wasn't really a use case at the time. Have you got
> anything in mind?
>
>>
>> Since blueprint transaction is built on top of blueprint interceptor,
>> I 'd assume the above answer also applies to blueprint transaction.
>> Please correct me if I am wrong.
>
> Correct, due to the above limitations transactional semantics can only be
> added to beans right now.
>
>> Thanks
>>
>> Lin
>
> Regards,
>
> Valentin
>
Re: blueprint interceptor
Posted by Valentin Mahrwald <vm...@googlemail.com>.
On 30 Mar 2010, at 16:42, Lin Sun wrote:
> Hi
>
> I have a question on blueprint interceptor. Does the interceptor only
> work on blueprint managed beans right now? Do we foresee any need to
> add interceptor to other components (such as service, reference,
> reference-list)?
Correct, currently interceptors are only supported on beans. There was
a JIRA a while ago though for adding interceptors to references, but
that got dropped because there wasn't really a use case at the time.
Have you got anything in mind?
>
> Since blueprint transaction is built on top of blueprint interceptor,
> I 'd assume the above answer also applies to blueprint transaction.
> Please correct me if I am wrong.
Correct, due to the above limitations transactional semantics can only
be added to beans right now.
> Thanks
>
> Lin
Regards,
Valentin