You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nutch.apache.org by "Ryan Levering (JIRA)" <ji...@apache.org> on 2007/12/05 01:04:43 UTC

[jira] Created: (NUTCH-589) Hierarchical Classloaders

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.