Yes, just like any other thing held in a threadlocal.
--
BJ Hargrave
Senior Technical Staff Member, IBM // office: +1 386 848 1781
OSGi Fellow and CTO of the OSGi Alliance // mobile: +1 386 848 3788
[email protected]
BJ Hargrave
Senior Technical Staff Member, IBM // office: +1 386 848 1781
OSGi Fellow and CTO of the OSGi Alliance // mobile: +1 386 848 3788
[email protected]
----- Original message -----
From: Carsten Ziegeler <[email protected]>
Sent by: [email protected]
To: OSGi Developer Mail List <[email protected]>
Cc:
Subject: Re: [osgi-dev] Valid coordinator scenario?
Date: Fri, Jul 31, 2015 8:30 AM
Am 31.07.15 um 14:24 schrieb Peter Kriens:
> I think it is impossible to implement Coordinator without having a strong reference to all active Coordination’s, how could pop() otherwise return the current coordination? And the reflection API has the same implications. So the answer is clearly yes.
>
> That said, this way you loose an extra safety check that nobody screwed up downstream …
>
Ok, if the answer is yes, then this coordination might stay around
forever (or until that thread dies), e.g. if I just do
coordinator.begin("test", 0);
Carsten
--
Carsten Ziegeler
Adobe Research Switzerland
[email protected]
_______________________________________________
OSGi Developer Mail List
[email protected]
https://mail.osgi.org/mailman/listinfo/osgi-dev
_______________________________________________ OSGi Developer Mail List [email protected] https://mail.osgi.org/mailman/listinfo/osgi-dev
