[jdom-interest] Thread safe question: OK for simultaneous read-only access?

Attila Szegedi szegedia at freemail.hu
Mon Oct 29 02:51:25 PST 2001


I don't know if anyone works on such thing, but one thing that comes to mind is that this kind of "wrappers" could be implemented very elegantly if JDOM were designed in terms of interfaces + default implementation. 

Attila.

----- Original Message ----- 
From: "bob mcwhirter" <bob at werken.com>
To: "Jason Hunter" <jhunter at acm.org>
Cc: <mbennett at ideaeng.com>; <jdom-interest at jdom.org>
Sent: 2001. október 27. 20:52
Subject: Re: [jdom-interest] Thread safe question: OK for simultaneous read-only access?


> On Sat, 27 Oct 2001, Jason Hunter wrote:
> 
> > > JDOM is generally not thread safe, as I understand it.  
> > 
> > True.  We follow the same model as ArrayList, which is not by default
> > thread safe.
> 
> Just curious, but following the Collections framework, has anyone
> worked on a SynchronizedDocument wrapper and/or factory?  (Or an
> UnmodifiableDocument?)
> 
> -bob
> 
> _______________________________________________
> To control your jdom-interest membership:
> http://lists.denveronline.net/mailman/options/jdom-interest/youraddr@yourhost.com
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 2848 bytes
Desc: not available
Url : http://jdom.org/pipermail/jdom-interest/attachments/20011029/d2a32b7f/smime.bin


More information about the jdom-interest mailing list