Class AppStarter.IndexedUrlClassLoader

java.lang.Object
java.lang.ClassLoader
java.security.SecureClassLoader
java.net.URLClassLoader
de.iip_ecosphere.platform.services.spring.loader.AppStarter.IndexedUrlClassLoader
All Implemented Interfaces:
de.iip_ecosphere.platform.support.plugins.ChildClassLoader, Closeable, AutoCloseable
Enclosing class:
AppStarter

static class AppStarter.IndexedUrlClassLoader extends URLClassLoader implements de.iip_ecosphere.platform.support.plugins.ChildClassLoader
Creates an indexed child-firstclass loader taking into account the first given URL as it contains directly stored classes/resources.
  • Field Details

    • index

      private de.oktoflow.platform.tools.lib.loader.LoaderIndex index
    • urls

      private URL[] urls
    • url

      private String url
  • Constructor Details

    • IndexedUrlClassLoader

      public IndexedUrlClassLoader(String url, URL[] urls, de.oktoflow.platform.tools.lib.loader.LoaderIndex index, ClassLoader parent)
      Creates an indexed class loader still taking into account the first given URL as it contains directly stored classes/resources.
      Parameters:
      url - the URL of the file containing the jars
      urls - the original URLs pointing into url
      index - the loader index
      parent - the parent class loader
  • Method Details