it.imolinfo.jbi4corba.webservice.generator
Class ChildFirstClassLoader

java.lang.Object
  extended by java.lang.ClassLoader
      extended by java.security.SecureClassLoader
          extended by java.net.URLClassLoader
              extended by it.imolinfo.jbi4corba.webservice.generator.ChildFirstClassLoader

public class ChildFirstClassLoader
extends URLClassLoader

URLClassLoader that look first in the child URL.

Author:
Marco Piraccini

Constructor Summary
ChildFirstClassLoader()
           
ChildFirstClassLoader(ClassLoader parent)
           
ChildFirstClassLoader(URL[] urls)
           
ChildFirstClassLoader(URL[] urls, ClassLoader parent)
           
ChildFirstClassLoader(URL[] urls, ClassLoader parent, URLStreamHandlerFactory factory)
           
 
Method Summary
 Class loadClass(String name, boolean resolve)
           
static URLClassLoader newInstance(URL[] urls)
           
static URLClassLoader newInstance(URL[] urls, ClassLoader parent)
           
 
Methods inherited from class java.net.URLClassLoader
addURL, definePackage, findClass, findResource, findResources, getPermissions, getURLs
 
Methods inherited from class java.security.SecureClassLoader
defineClass, defineClass
 
Methods inherited from class java.lang.ClassLoader
clearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findLibrary, findLoadedClass, findSystemClass, getPackage, getPackages, getParent, getResource, getResourceAsStream, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, loadClass, resolveClass, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSigners
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChildFirstClassLoader

public ChildFirstClassLoader()

ChildFirstClassLoader

public ChildFirstClassLoader(ClassLoader parent)

ChildFirstClassLoader

public ChildFirstClassLoader(URL[] urls)

ChildFirstClassLoader

public ChildFirstClassLoader(URL[] urls,
                             ClassLoader parent)

ChildFirstClassLoader

public ChildFirstClassLoader(URL[] urls,
                             ClassLoader parent,
                             URLStreamHandlerFactory factory)
Method Detail

newInstance

public static final URLClassLoader newInstance(URL[] urls)

newInstance

public static final URLClassLoader newInstance(URL[] urls,
                                               ClassLoader parent)

loadClass

public final Class loadClass(String name,
                             boolean resolve)
                      throws ClassNotFoundException
Overrides:
loadClass in class ClassLoader
Throws:
ClassNotFoundException


Copyright © 2005-2010 Imola Informatica. All Rights Reserved.