|
JBoss Marshalling 1.4.3.Final | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ClassCloner

A cloner for class types. Used (for example) to load an equivalent class from an alternate classloader.
| Field Summary | |
|---|---|
static ClassCloner |
IDENTITY
A class cloner which just returns the class it is given. |
| Method Summary | |
|---|---|
Class<?> |
clone(Class<?> original)
Clone the given class. |
Class<?> |
cloneProxy(Class<?> proxyClass)
Clone the given reflection proxy class. |
| Field Detail |
|---|
static final ClassCloner IDENTITY
| Method Detail |
|---|
Class<?> clone(Class<?> original)
throws IOException,
ClassNotFoundException
original - the class to clone
IOException - if cloning fails due to a serialization problem
ClassNotFoundException - if cloning fails due to an unavailable class
Class<?> cloneProxy(Class<?> proxyClass)
throws IOException,
ClassNotFoundException
proxyClass - the proxy class to clone
IOException - if cloning fails due to a serialization problem
ClassNotFoundException - if cloning fails due to an unavailable class
|
JBoss Marshalling 1.4.3.Final | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||