|
JBoss Marshalling 1.3.0.CR9 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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 | |
---|---|
static ObjectCloner |
IDENTITY
The identity object cloner. |
Method Summary | |
---|---|
Object |
clone(Object orig)
Create a deep clone of the given object. |
void |
reset()
Clear the cloner state and any caches. |
Field Detail |
---|
static final ObjectCloner IDENTITY
Method Detail |
---|
void reset()
Object clone(Object orig) throws IOException, ClassNotFoundException
orig
- the original object
IOException
- if a serialization error occurs
ClassNotFoundException
|
JBoss Marshalling 1.3.0.CR9 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |