-
May 5th, 2010, 11:34 AM
#1
is Jaxb2Marshaller thread safe?
The javadoc makes no mention if Jaxb2Marshaller is thread safe. In particular are marshall() / unmarshall() thread safe?
While objects returned from createMarshaller() / createUnmarshaller() are clearly said not to be threadsafe, nothing is said about Jaxb2Marshaller itself.
-
May 5th, 2010, 03:58 PM
#2
Jaxb2Marshaller methods createMarshaller() and createUnmarshaller() look thread-safe IMHO, the comment on not being thread safe refers to the objects these methods return. If you look at the code, createMarshaller() is called for each marshal() call to avoid thread safety issues for example.
-
May 5th, 2010, 04:27 PM
#3
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules