[infinispan-dev] Configuration.clone

Mircea Markus mircea.markus at jboss.com
Tue Aug 4 07:33:20 EDT 2009


Hi,

Configuration.clone is implemented with object serialization. AFAIK this 
is not a good practice for several reasons, one of them is that all the 
objects aggregated  by Configuration must be serializable. While this 
*might* be ok for Configuration elements within our scope (infinispan) 
this will unnecessarily enforce the extensions (e.g. 
<aCustomCacheStore>Configuration) to be serializable.

Cheers,
Mircea



More information about the infinispan-dev mailing list