private Object writeReplace() { /* * Instead of serializing this actual property set, only serialize a DTO * that when deserialized will get the corresponding property set from * the cache. */ return new SerializedPropertySet(instanceKey); } }
private Object writeReplace() { /* * Instead of serializing this actual property set, only serialize a DTO * that when deserialized will get the corresponding property set from * the cache. */ return new SerializedPropertySet(instanceKey); } }