Allow for custom classloader use in JAXBUtils
---------------------------------------------
Key: AXIS2-3266
URL: https://issues.apache.org/jira/browse/AXIS2-3266
Project: Axis 2.0 (Axis2)
Issue Type: Bug
Components: jaxws
Affects Versions: nightly
Reporter: Dustin Amrhein
Fix For: nightly
When retrieving a JAXBContext from the cache in JAXBUtils, it would be nice to
pass in a ClassLoader instance
to the JAXBUtils class. This would allow the JAXBUtils class to use this as the
key for looking in the cache for
a JAXBContext instead of assuming it is always the Thread's context
classloader. The classloader passed in
could optionally be null, and in that case the behavior would remain the same.
If there was not a JAXBContext
in the cache, the Thread's context classloader would be used to create the new
context and NOT the classloader
passed in.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]