public class PluginClassLoader extends URLClassLoader
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 and Description |
---|
PluginClassLoader(URL[] urls,
ClassLoader parent)
Construtor
|
addURL, close, definePackage, findClass, findResource, findResources, getPermissions, getResourceAsStream, getURLs, newInstance, newInstance
defineClass, defineClass
clearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findLibrary, findLoadedClass, findSystemClass, getClassLoadingLock, getPackage, getPackages, getParent, getResource, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, loadClass, loadClass, registerAsParallelCapable, resolveClass, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSigners
public PluginClassLoader(URL[] urls, ClassLoader parent)
urls
- Array of urls with own libraries and all exported libraries of
plugins that are required to this pluginparent
- Copyright © 2007, 2017, Oracle and/or its affiliates. All rights reserved.