I'm in the middle of writing that section now. I'll be sure to document the lifecycle. An instance is only initialized, I believe, when it is not cached (i.e. if the UID is not in the cache, it then creates a new instance) so on any given access you cannot guarantee that it will or won't undergo initialization. This can be challenging to think through with regards to :transient slots.

Ian

On Apr 13, 2007, at 4:34 PM, Pierre THIERRY wrote:

Just a thought about 1.0:

one thing that is absolutely needed is a comprehensive documentation of the persistent metaclass. Some of its behaviour can be quite unexpected,
like the fact that an object goes through its initialization each time
it is deserialized.

When initialization of an object has side effects, that can be
problematic...

Quickly,
Pierre
--
[EMAIL PROTECTED]
OpenPGP 0xD9D50D8A
_______________________________________________
elephant-devel site list
[EMAIL PROTECTED]
http://common-lisp.net/mailman/listinfo/elephant-devel

Attachment: PGP.sig
Description: This is a digitally signed message part

_______________________________________________
elephant-devel site list
[EMAIL PROTECTED]
http://common-lisp.net/mailman/listinfo/elephant-devel

Reply via email to