org.jboss.marshalling.cloner
Class ClassLoaderClassCloner
java.lang.Object
org.jboss.marshalling.cloner.ClassLoaderClassCloner
- All Implemented Interfaces:
- ClassCloner
public class ClassLoaderClassCloner
- extends Object
- implements ClassCloner
A class cloner which uses the given class loader to resolve classes.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClassLoaderClassCloner
public ClassLoaderClassCloner(ClassLoader destClassLoader)
clone
public Class<?> clone(Class<?> original)
throws IOException,
ClassNotFoundException
- Specified by:
clone
in interface ClassCloner
- Throws:
IOException
ClassNotFoundException
cloneProxy
public Class<?> cloneProxy(Class<?> proxyClass)
throws IOException,
ClassNotFoundException
- Specified by:
cloneProxy
in interface ClassCloner
- Throws:
IOException
ClassNotFoundException
Copyright © 2011 JBoss, a division of Red Hat, Inc.