incubator-graffito-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Felix Meschberger (JIRA)" <>
Subject [jira] Created: (GRFT-100) Support custom class loader for mapped classes
Date Wed, 06 Sep 2006 11:26:22 GMT
Support custom class loader for mapped classes

                 Key: GRFT-100
             Project: Graffito
          Issue Type: Improvement
          Components: JCR-Mapping
    Affects Versions: 1.0-a1-dev
            Reporter: Felix Meschberger

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)

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:
For more information on JIRA, see:


View raw message