openwebbeans-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lars-Fredrik Smedberg <>
Subject Re: Reinject of transient dependencies? + Question on @ConversationScoped
Date Mon, 09 Dec 2013 22:29:46 GMT
Hi Mark

I was just wondering since some CDI examples (especially those that inject
a Logger that is not proxyable) suggest injecting it to a transient field
in a passivation scope bean.... I guess those examples are not right then?

Nope, we do not re-inject anything.
The parts which do not get serialized are lost.

You could of course handle serialisation yourself and fill the injection
point with BeanManager#getReference manually. But what for?


> From: Lars-Fredrik Smedberg <>
>To: "" <>
>Sent: Monday, 9 December 2013, 13:49
>Subject: Reinject of transient dependencies? + Question on
>Some questions if anyone can help me out:
>1. In the case of passivation and activation will OWB reinject transient
dependencies or how are they treated?
>2. Is there any (easy) way to use @ConversationScoped in a none
JSF-environment or should I use something else (or perhaps create a custom
>Med vänlig hälsning / Best regards
>Lars-Fredrik Smedberg
>The information contained in this electronic message and any
>attachments to this message are intended for the exclusive use of the
>address(es) and may contain confidential or privileged information. If
>you are not the intended recipient, please notify Lars-Fredrik Smedberg
>immediately at, and destroy all copies of this
>message and any attachments.

View raw message