On 12/06/2010 11:57 AM, Andy wrote:
> Hi,
> I posted this question on the user mailing list but I'm not sure if
> the answer I got was accurate so I thought to ask the developer list.
> 
> Is *XmlObject.Factory.parse() *thread-safe?  I have many concurrent
> threads calling this method and want to make sure each thread is
> getting back what it is supposed to.

I'm not an XmlBeans developer but... I've never had a problem with
concurrent threads calling the parse method. Now obviously if the
input value is mutable e.g. a node, then presumably that input object
shouldn't be modified by another thread.

Note also that the parse method is static so it would be pretty brutal
if it weren't thread safe. :-)

Cheers,
Raman

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to