Class PluginClassLoader

  extended by java.lang.ClassLoader
      extended by
          extended by
              extended by org.apache.nutch.plugin.PluginClassLoader

public class PluginClassLoader
extends URLClassLoader

The PluginClassLoader contains only classes of the runtime libraries setuped in the plugin manifest file and exported libraries of plugins that are required pluguin. Libraries can be exported or not. Not exported libraries are only used in the plugin own PluginClassLoader. Exported libraries are available for PluginClassLoader of plugins that depends on these plugins.


Constructor Summary
PluginClassLoader(URL[] urls, ClassLoader parent)
Method Summary
Methods inherited from class
addURL, definePackage, findClass, findResource, findResources, getPermissions, getURLs, newInstance, newInstance
Methods inherited from class
defineClass, defineClass
Methods inherited from class java.lang.ClassLoader
clearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findLibrary, findLoadedClass, findSystemClass, getPackage, getPackages, getParent, getResource, getResourceAsStream, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, loadClass, loadClass, resolveClass, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSigners
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail


public PluginClassLoader(URL[] urls,
                         ClassLoader parent)

urls - Array of urls with own libraries and all exported libraries of plugins that are required to this plugin
parent -

Copyright © 2007, 2012, Oracle and/or its affiliates. All rights reserved.