com.ibm.tivoli.maximo.report.birt.engine

Class MXSystemOSGiFrameworkLauncher.ChildFirstURLClassLoader

  • java.lang.Object
    • java.lang.ClassLoader
      • java.security.SecureClassLoader
        • java.net.URLClassLoader
          • com.ibm.tivoli.maximo.report.birt.engine.MXSystemOSGiFrameworkLauncher.ChildFirstURLClassLoader
  • All Implemented Interfaces:
    java.io.Closeable, java.lang.AutoCloseable
    Enclosing class:
    MXSystemOSGiFrameworkLauncher


    protected class MXSystemOSGiFrameworkLauncher.ChildFirstURLClassLoader
    extends java.net.URLClassLoader
    The ChildFirstURLClassLoader alters regular ClassLoader delegation and will check the URLs used in its initialization for matching classes before delegating to it's parent.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      java.net.URL getResource(java.lang.String name) 
      protected java.lang.Class loadClass(java.lang.String name, boolean resolve) 
      • Methods inherited from class java.net.URLClassLoader

        addURL, close, definePackage, findClass, findResource, findResources, getPermissions, getResourceAsStream, getURLs, newInstance, newInstance
      • Methods inherited from class java.security.SecureClassLoader

        defineClass, defineClass
      • Methods inherited from class java.lang.ClassLoader

        clearAssertionStatus, clone, defineClass, defineClass, defineClass, defineClass, definePackage, findLibrary, findLoadedClass, findSystemClass, getClassLoadingLock, getPackage, getPackages, getParent, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, loadClass, registerAsParallelCapable, resolveClass, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSigners
      • Methods inherited from class java.lang.Object

        equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ChildFirstURLClassLoader

        public ChildFirstURLClassLoader(java.net.URL[] urls)
      • ChildFirstURLClassLoader

        public ChildFirstURLClassLoader(java.net.URL[] urls,
                                        java.lang.ClassLoader parent)
      • ChildFirstURLClassLoader

        public ChildFirstURLClassLoader(java.net.URL[] urls,
                                        java.lang.ClassLoader parent,
                                        java.net.URLStreamHandlerFactory factory)
    • Method Detail

      • getResource

        public java.net.URL getResource(java.lang.String name)
        Overrides:
        getResource in class java.lang.ClassLoader
      • loadClass

        protected java.lang.Class loadClass(java.lang.String name,
                                            boolean resolve)
                                     throws java.lang.ClassNotFoundException
        Overrides:
        loadClass in class java.lang.ClassLoader
        Throws:
        java.lang.ClassNotFoundException