[weld-dev] Using Interceptor/Decorator On Dependent Scoped Beans

Gavin King gavin.king at gmail.com
Tue Oct 27 14:49:53 EDT 2009


Yes, this is required and useful.

However, interceptors/decorators are not really intended to be applied
via the "client proxy" that the spec talks about. In fact, the spec is
written to allow the interception to be implemented without any
separate proxy object at all (using a subclass).

On Tue, Oct 27, 2009 at 1:53 PM, Gurkan Erdogdu <gurkanerdogdu at yahoo.com> wrote:
> Hi;
>
>
> Does the 299 specification indicate that interceptors and decorators should
> not be called for dependent scoped beans?
>
> Currently we do not implement Interceptor/Decorator on @Dependent scoped
> beans in OWB because we do all interceptor/decorator stuff using proxy and
> @Dependent scoped beans do not require client proxy.
>
> Does anyone has a good use case/example when dependent scoped beans are
> useful or necessary?
>
> Thanks;
>
> --Gurkan
>
>
>
>
> _______________________________________________
> weld-dev mailing list
> weld-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/weld-dev
>



-- 
Gavin King
gavin.king at gmail.com
http://in.relation.to/Bloggers/Gavin
http://hibernate.org
http://seamframework.org


More information about the weld-dev mailing list