To make it easier for all, I attempt to summarize differences as the following:

- in additon to existing way of registering new EC, now it allows creating new EC and register with lock manager with one statement: lockManager.newEditingContext(). Otherwise, the original code will have to create EC first and then call lockManager.registerEditingContext(ec)

- allow flexibility to create new EC with a given parent EOObjectStore. This is a distinguished feature where lock manager extends to construct new EC as compared to only take in EC passing in for registration.

- added isLock() for condition check

Correct me if wrong... Thanks for sharing!!

Cheers

Cheong Hee

----- Original Message ----- From: "Chuck Hill" <[email protected]>
To: "Cheong Hee (Gmail)" <[email protected]>
Cc: <[email protected]>
Sent: Wednesday, July 22, 2009 2:00 PM
Subject: Re: Inaccurate active session count in JavaMonitor (Solved)


I made some changes.  Here is what I am using now.




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

This email sent to [email protected]

Reply via email to