Apache CXF API

org.apache.cxf.common.util
Class ProxyClassLoader

java.lang.Object
  extended by java.lang.ClassLoader
      extended by org.apache.cxf.common.util.ProxyClassLoader

public class ProxyClassLoader
extends ClassLoader

Utility class loader that can be used to create proxies in cases where the the client classes are not visible to the loader of the service class.


Constructor Summary
ProxyClassLoader(ClassLoader parent)
           
ProxyClassLoader(ClassLoader parent, Class<?>[] cls)
           
 
Method Summary
 void addLoader(ClassLoader loader)
           
 Class<?> findClass(String name)
           
 URL findResource(String name)
           
 
Methods inherited from class java.lang.ClassLoader
clearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findLibrary, findLoadedClass, findResources, findSystemClass, getPackage, getPackages, getParent, getResource, getResourceAsStream, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, loadClass, 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

ProxyClassLoader

public ProxyClassLoader(ClassLoader parent)

ProxyClassLoader

public ProxyClassLoader(ClassLoader parent,
                        Class<?>[] cls)
Method Detail

addLoader

public void addLoader(ClassLoader loader)

findClass

public Class<?> findClass(String name)
                   throws ClassNotFoundException
Overrides:
findClass in class ClassLoader
Throws:
ClassNotFoundException

findResource

public URL findResource(String name)
Overrides:
findResource in class ClassLoader

Apache CXF API

Apache CXF