public interface ObjectCloner
| Modifier and Type | Field | Description |
|---|---|---|
static ObjectCloner |
IDENTITY |
The identity object cloner.
|
| Modifier and Type | Method | Description |
|---|---|---|
Object |
clone(Object orig) |
Create a deep clone of the given object.
|
void |
reset() |
Clear the cloner state and any caches.
|
static final ObjectCloner IDENTITY
void reset()
Object clone(Object orig) throws IOException, ClassNotFoundException
orig - the original objectIOException - if a serialization error occursClassNotFoundException - if a class cannot be loaded during the cloning processCopyright © 2020 JBoss by Red Hat. All rights reserved.