Class PluginClassLoader

  • All Implemented Interfaces:
    Closeable, AutoCloseable

    public class PluginClassLoader
    extends URLClassLoader
    The PluginClassLoader is a child-first classloader that only contains classes of the runtime libraries setuped in the plugin manifest file and exported libraries of plugins that are required plugins. 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.