Hello;

I want to put some data into the user info of an object store co- ordinator and then pull it out again in notifications.

        ec.lock();

        try
        {
                ec.rootObjectStore().setUserInfoForKey(xyz,"foobar");

                try
                {
                        // do some editing context foo here!
                }
                finally { ec.rootObjectStore().setUserInfoForKey(null,"foobar");
        }
        finally { ec.unlock(); }

That should be safe should it not or am I playing with fire?

cheers.

___
Andrew Lindesay
www.lindesay.co.nz

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to