Apache CXF API

org.apache.cxf.jaxrs.client
Class ProxyClassLoader

java.lang.Object
  extended by java.lang.ClassLoader
      extended by org.apache.cxf.jaxrs.client.ProxyClassLoader

public class ProxyClassLoader
extends ClassLoader

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


Constructor Summary
ProxyClassLoader()
           
 
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()
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