According to the intro in Chapter 8. Decorators:
"Decorators may be associated with any managed bean that is not itself an interceptor or decorator or with any EJB session bean."
Dependent-scoped beans are managed beans, so ergo, they must allow decorators.
I can't provide a use case off the top of my head (just not something my mind is currently chewing on).
-Dan
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@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/weld-dev