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] Closed: (GRFT-100) Support custom class loader for mapped classes
Date Thu, 19 Oct 2006 09:28:39 GMT
     [ http://issues.apache.org/jira/browse/GRFT-100?page=all ]

Felix Meschberger closed GRFT-100.
----------------------------------


Verified. Thanks alot.

> Support custom class loader for mapped classes
> ----------------------------------------------
>
>                 Key: GRFT-100
>                 URL: http://issues.apache.org/jira/browse/GRFT-100
>             Project: Graffito
>          Issue Type: Improvement
>          Components: JCR-Mapping
>    Affects Versions: 1.0-a1-dev
>            Reporter: Felix Meschberger
>         Assigned To: Christophe Lombart
>             Fix For: 1.0-a1-dev
>
>         Attachments: ClassLoading.fm20060906.patch
>
>
> Currently, the ReflectionUtils.forName(String) method provides a class loading service,
which just uses the class loader of the ReflectionUtils class itself to load classes. Many
classes use the ReflectionUtils.forName(String) method, but some use the direct Class.forName(String)
method.
> Loading classes using Class.forName usually works very well in "simple" applications
without much class loader ado. In certain environments, e.g. OSGi frameworks, classloaders
are heavily used to separate parts of the application from other parts. In such environments,
loading classes must be carefully crafted and using Class.forName(String) may not be adequate.
> To come around this limitation a bit, I propose to add functionality to the ReflectionUtils
class to inject a custom class loader to be used.

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