You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Dustin Amrhein (JIRA)" <ji...@apache.org> on 2007/10/10 18:34:50 UTC

[jira] Created: (AXIS2-3266) Allow for custom classloader use in JAXBUtils

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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Resolved: (AXIS2-3266) Allow for custom classloader use in JAXBUtils

Posted by "Dustin Amrhein (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-3266?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dustin Amrhein resolved AXIS2-3266.
-----------------------------------

    Resolution: Fixed

Fixed in rev 583568

> 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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Updated: (AXIS2-3266) Allow for custom classloader use in JAXBUtils

Posted by "Dustin Amrhein (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-3266?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dustin Amrhein updated AXIS2-3266:
----------------------------------

    Attachment: patch.txt

> 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
>
>         Attachments: patch.txt
>
>
> 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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Updated: (AXIS2-3266) Allow for custom classloader use in JAXBUtils

Posted by "Dustin Amrhein (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-3266?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dustin Amrhein updated AXIS2-3266:
----------------------------------

    Attachment:     (was: patch.txt)

> 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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org