Class LocalPriorityClassloader

java.lang.Object
java.lang.ClassLoader
java.security.SecureClassLoader
java.net.URLClassLoader
com.ibm.java.diagnostics.utils.plugins.LocalPriorityClassloader
All Implemented Interfaces:
Closeable, AutoCloseable

public class LocalPriorityClassloader extends URLClassLoader
Classloader to search for classes locally first before delegating to the parent classloader. This 'me first' approach is required so that when classes are 'refreshed' and this loader discarded the old versions on the plugin search path are also discarded.
  • Constructor Details

    • LocalPriorityClassloader

      public LocalPriorityClassloader(URL[] urls, ClassLoader parent)
    • LocalPriorityClassloader

      public LocalPriorityClassloader(URL[] urls)