incubator-graffito-dev mailing list archives

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

Felix Meschberger updated GRFT-108:
-----------------------------------

    Attachment: GRFT-108.fm.20061006.diff

Patch implementing setting the class loader to be used by the Digester instance.

> 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
>         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