Code example for URLClassLoader

Methods: getURLs

                             List<URL> additionalClassPath,
                             Set<String> blocked,
                             Set<String> isolated,
                             Set<String> shared,
                             boolean respectGrandparents) {
    super(join(additionalClassPath, parent.getURLs()), parent);
    m_blocked = new Classes(blocked);
    m_isolated = new Classes(isolated);
    m_shared = new Classes(shared);
    m_respectGrandparents = respectGrandparents;
   * Simplified constructor that uses standard application classloader as 
   * the parent. 
   * @param additionalClassPath 
   *          Prepended to the parent's URLs to calculate the classpath for this