public interface ClassCloner
| Modifier and Type | Field and Description |
|---|---|
static ClassCloner |
IDENTITY
A class cloner which just returns the class it is given.
|
static final ClassCloner IDENTITY
Class<?> clone(Class<?> original) throws IOException, ClassNotFoundException
original - the class to cloneIOException - if cloning fails due to a serialization problemClassNotFoundException - if cloning fails due to an unavailable classClass<?> cloneProxy(Class<?> proxyClass) throws IOException, ClassNotFoundException
proxyClass - the proxy class to cloneIOException - if cloning fails due to a serialization problemClassNotFoundException - if cloning fails due to an unavailable classCopyright © 2018 JBoss by Red Hat. All rights reserved.