Class NbClassLoader

All Implemented Interfaces:
Closeable, AutoCloseable

public class NbClassLoader extends URLClassLoader
A class loader which is capable of loading classes from the Repository. XXX the only useful thing this class does is effectively make ExecutionEngine.createPermissions public! Consider deprecating this class...
See Also:
  • Field Details

    • inout

      protected org.openide.windows.InputOutput inout
      I/O for classes defined by this classloader. May be null.
  • Constructor Details

    • NbClassLoader

      @Deprecated public NbClassLoader()
      Deprecated.
      Misuses classpath.
      Create a new class loader retrieving classes from the core IDE as well as the Repository.
    • NbClassLoader

      @Deprecated public NbClassLoader(org.openide.windows.InputOutput io)
      Deprecated.
      Misuses classpath.
      Create a new class loader retrieving classes from the core IDE as well as the Repository, and redirecting system I/O.
      Parameters:
      io - an I/O tab in the Output Window
      See Also:
      • Repository.getFileSystems()
    • NbClassLoader

      public NbClassLoader(org.openide.filesystems.FileObject[] roots, ClassLoader parent, org.openide.windows.InputOutput io)
    • NbClassLoader

      @Deprecated public NbClassLoader(org.openide.filesystems.FileSystem[] fileSystems)
      Deprecated.
      Misuses classpath.
      Create a new class loader retrieving classes from the core IDE as well as specified file systems.
      Parameters:
      fileSystems - file systems to load classes from
    • NbClassLoader

      @Deprecated public NbClassLoader(org.openide.filesystems.FileSystem[] fileSystems, ClassLoader parent)
      Deprecated.
      Misuses classpath.
      Create a new class loader.
      Parameters:
      fileSystems - file systems to load classes from
      parent - fallback class loader
  • Method Details