[webbeans-dev] Re: Accessing destroyed contexts
by Pete Muir
I'm operating off 20081029. Do I have an old version?
The spec still talks about destroying a context e.g. in 8.5...
On 3 Nov 2008, at 15:47, Gavin King wrote:
> There is not really any such thing as a "destroyed context" anymore.
>
> (Context destruction is an event that sometimes occurs before a
> context
> object moves into the inactive state.)
>
> So I'm not quite sure what you mean....
>
> On Mon, Nov 3, 2008 at 2:17 AM, Nicklas Karlsson
> <nickarls(a)gmail.com> wrote:
>> Hi,
>>
>> I didn't see anything in the Web Beans specs regarding what the
>> state of a destroyed context is if someone
>> happens to hold a reference. Throws a ContextNotActiveException?
>>
>> ---
>> Nik
>>
>
>
>
> --
> Gavin King
> gavin.king(a)gmail.com
> http://in.relation.to/Bloggers/Gavin
> http://hibernate.org
> http://seamframework.org
15 years, 11 months
[webbeans-dev] Client proxies
by Nicklas Karlsson
HI,
I was looking at client proxy implementation and passivating scopes
and tried a javassist approach with a MethodHandler that
takes a Bean and a Manager as parameters in order to acquire the
current instance of the bean to execute methods on. The
problem is that Bean is not Serializable. Should it be or is the
approach wrong altogether?
The Manager isn't serializable either but it could be transient and
then looked up if it has become null but what would the
recommended way in the RI to reconstruct it? Take it from JNDI and
populate it with stuff stored away (in ThreadLocals?)
or some other way?
---
Nik
15 years, 11 months