org.apache.cxf.jaxrs.client
Class ProxyClassLoader
java.lang.Object
java.lang.ClassLoader
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.
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 |
ProxyClassLoader
public ProxyClassLoader()
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