[cdi-dev] Question for clarification and my understanding
Jozef Hartinger
jharting at redhat.com
Wed Oct 19 13:33:39 EDT 2011
Only normal scoped beans require client proxies. Decoration and
interception should be implemented by subclassing (see CDI-74, CDI-44).
On 10/19/2011 07:24 PM, Rick Hightower wrote:
>
> 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>
>
>
>
> _______________________________________________
> cdi-dev mailing list
> cdi-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/cdi-dev
More information about the cdi-dev
mailing list