JBoss Marshalling 1.3.0.CR9

org.jboss.marshalling.cloner
Class ClassLoaderClassCloner

java.lang.Object
  extended by 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.


Field Summary
 
Fields inherited from interface org.jboss.marshalling.cloner.ClassCloner
IDENTITY
 
Constructor Summary
ClassLoaderClassCloner(ClassLoader destClassLoader)
           
 
Method Summary
 Class<?> clone(Class<?> original)
           
 Class<?> cloneProxy(Class<?> proxyClass)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClassLoaderClassCloner

public ClassLoaderClassCloner(ClassLoader destClassLoader)
Method Detail

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

JBoss Marshalling 1.3.0.CR9

Copyright © 2011 JBoss, a division of Red Hat, Inc.