incubator-graffito-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christophe Lombart (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (GRFT-108) Digester fails to load descriptor classes when using different class loaders
Date Wed, 18 Oct 2006 19:20:36 GMT
     [ http://issues.apache.org/jira/browse/GRFT-108?page=all ]

Christophe Lombart resolved GRFT-108.
-------------------------------------

    Resolution: Fixed

Patch applied thanks

> Digester fails to load descriptor classes when using different class loaders
> ----------------------------------------------------------------------------
>
>                 Key: GRFT-108
>                 URL: http://issues.apache.org/jira/browse/GRFT-108
>             Project: Graffito
>          Issue Type: Improvement
>    Affects Versions: 1.0-a1-dev
>         Environment: Graffito SVN checkout Rev. 448648
>            Reporter: Felix Meschberger
>         Assigned To: Christophe Lombart
>         Attachments: GRFT-108.fm.20061006.diff
>
>
> With issue GRFT-100 a patch has been applied to the ReflectionUtils class to support
custom class loaders for mapped classes. There is a similar issue regarding the loading of
class descriptors using Digester: If the Digester is loaded by a different class loader than
the jcr mapping library, the digester cannot load the descriptor classes.
> The Digester class provides a setClassLoader() method which allows for setting a custom
class loader. As the classes to be loaded are part of the jcr mapping library, the class loader
of the DigesterDescriptorReader class, which uses the Digester to load class descriptions,
should be set on the digester.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message