JavaScript is disabled on your browser.
JBoss Marshalling 1.3.13.GA
public interface ObjectCloner
An object cloner. Creates a (possibly deep) clone of an object. Unlike Marshallers and Unmarshallers, ObjectCloners
are thread-safe and can be used to clone object graphs concurrently.
Field Summary
Fields
Modifier and Type
Field and Description
static ObjectCloner
IDENTITY
The identity object cloner.
Method Summary
Methods
Modifier and Type
Method and Description
java.lang.Object
clone (java.lang.Object orig)
Create a deep clone of the given object.
void
reset ()
Clear the cloner state and any caches.
Method Detail
clone
java.lang.Object clone(java.lang.Object orig)
throws java.io.IOException,
java.lang.ClassNotFoundException
Create a deep clone of the given object.
Parameters: orig
- the original object
Returns: the deep clone
Throws:
java.io.IOException
- if a serialization error occurs
java.lang.ClassNotFoundException
JBoss Marshalling 1.3.13.GA
Copyright © 2011 JBoss, a division of Red Hat, Inc.