[cdi-dev] Question for clarification and my understanding

Rick Hightower richardhightower at gmail.com
Wed Oct 19 13:24:57 EDT 2011


Section 5.4

"Client proxies are never required for a bean whose scope is a pseudo-scope
such as @Dependent."


I understand the concept of client proxies to allow for scopes and context.


Is this a true statement...
Client proxies may not be needed for @Dependent (pseudo scope). CDI may
provide a client proxy for @Dependent.
A proxy is needed for @Dependent objects that are decorated or intercepted
with Decorators or Interceptors.

Are all injected objects proxied or only objects that are normal scoped or
decorated?



-- 
*Rick Hightower*
(415) 968-9037
Profile <http://www.google.com/profiles/RichardHightower>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/cdi-dev/attachments/20111019/6560a616/attachment.html 


More information about the cdi-dev mailing list