Update of /project/elephant/cvsroot/elephant/doc In directory clnet:/tmp/cvs-serv15141/doc
Modified Files: user-guide.texinfo Log Message: Provide simple restarts for some potentially annoying error conditions. Especially storing an instance of one store in another database
--- /project/elephant/cvsroot/elephant/doc/user-guide.texinfo 2007/04/21 17:22:35 1.12 +++ /project/elephant/cvsroot/elephant/doc/user-guide.texinfo 2007/04/22 03:35:09 1.13 @@ -433,14 +433,16 @@
@subsection Instance Creation
-To the user, persistent objects are created as usual with a call to +To the user, persistent objects are created normally with a call to @code{make-instance} with the desired slot initargs as illustrated in the last section. However, this call will fail unless there is a default @code{store-controller} instance in the variable @code{*store-controller*} or the @code{:sc} keyword argument is -provided with a valid store controller object. This tells the -metaobject protocol implementing persistent slot creation where to -allocate storage for this instance's slots and +provided with a valid store controller object. + +An instance of the class is created and any initforms and initarg +values are written to transient or persistent slots as one would +expect.
* Default store controller & instance creation * What happens to persistent objects when store-controller is closed?