Markus Angst schrieb:

[...]

>>> I don't understand enough of the ThreadSafe interface
>> It just tells the container to create only one instance of the service
>> which is shared by all clients.
> 
> Does this guarantee that a synchronization bug which is definitely present in
> the old version of FastUUIDGen.nextUUID() cannot occur?

I think so. They replaced the object lock with the class lock. With the
AxisUUIDGenerator being ThreadSafe, an object lock is in fact the same
as a class lock because only one object exists.

-- Andreas



-- 
Andreas Hartmann, CTO
BeCompany GmbH
http://www.becompany.ch


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to