com.ibm.team.build.internal.hjplugin
Class RTCFacadeClassLoader

java.lang.Object
  extended by java.lang.ClassLoader
      extended by java.security.SecureClassLoader
          extended by java.net.URLClassLoader
              extended by com.ibm.team.build.internal.hjplugin.RTCFacadeClassLoader

public class RTCFacadeClassLoader
extends URLClassLoader

A sometimes Child First ClassLoader for use in RTCFacades. Only provide resources from parent and system classloaders, we do not search through the parent hierarchy.


Constructor Summary
RTCFacadeClassLoader(URL[] urls, ClassLoader parent)
           
 
Method Summary
 Enumeration<URL> getResources(String resName)
           
protected  Class<?> loadClass(String name, boolean resolve)
           
 
Methods inherited from class java.net.URLClassLoader
addURL, definePackage, findClass, findResource, findResources, getPermissions, getURLs, newInstance, newInstance
 
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, 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

RTCFacadeClassLoader

public RTCFacadeClassLoader(URL[] urls,
                            ClassLoader parent)
Method Detail

getResources

public Enumeration<URL> getResources(String resName)
                              throws IOException
Overrides:
getResources in class ClassLoader
Throws:
IOException

loadClass

protected Class<?> loadClass(String name,
                             boolean resolve)
                      throws ClassNotFoundException
Overrides:
loadClass in class ClassLoader
Throws:
ClassNotFoundException


Copyright © 2004-2013. All Rights Reserved.