nutch-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ryan Levering (JIRA)" <j...@apache.org>
Subject [jira] Created: (NUTCH-589) Hierarchical Classloaders
Date Wed, 05 Dec 2007 00:04:43 GMT
Hierarchical Classloaders
-------------------------

                 Key: NUTCH-589
                 URL: https://issues.apache.org/jira/browse/NUTCH-589
             Project: Nutch
          Issue Type: Improvement
    Affects Versions: 0.9.0
            Reporter: Ryan Levering
            Priority: Minor


Currently the Nutch plugin classloader flattens all the jars from a plugins' dependencies
and instantiates a new classloader for each plugin.  I think it would be better to create
a hierarchical classloader chain.  Currently plugins can't pass objects from a common plugin
to one another because the objects are created using different classloaders.  Nutch currently
avoids this by only using interfaces from a common classloader to pass objects between plugins,
but I can't see the harm in improving the plugin classloader.  It would require a change to
PluginDescription and PluginClassLoader in order to override ClassLoader to maintain the export
filter functionality that currently exists.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message