Andy,

 

The method is thread-safe, as should be all public API XmlObject methods.

There is one special case: the usage of a non documented option that would make 
it not thread safe, which is most probably not your case.

 

Hope this answers your question.

Cezar

 

  _____  

From: Andy [mailto:andrh...@hotmail.com] 
Sent: Monday, December 06, 2010 10:58 AM
To: dev@xmlbeans.apache.org
Subject: Thread safety question

 

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.

Thanks- 

Reply via email to