ehcache

net.sf.ehcache.store.compound
Class SerializationCopyStrategy

java.lang.Object
  extended by net.sf.ehcache.store.compound.SerializationCopyStrategy
All Implemented Interfaces:
CopyStrategy

public class SerializationCopyStrategy
extends java.lang.Object
implements CopyStrategy

A copy strategy that uses Serialization to copy the object graph

Author:
Alex Snaps

Constructor Summary
SerializationCopyStrategy()
           
 
Method Summary
<T> T
copy(T value)
          Deep copies some object and returns the copy
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SerializationCopyStrategy

public SerializationCopyStrategy()
Method Detail

copy

public <T> T copy(T value)
Description copied from interface: CopyStrategy
Deep copies some object and returns the copy

Specified by:
copy in interface CopyStrategy
Type Parameters:
T - type
Parameters:
value - the value to copy
Returns:
the copy

ehcache

true