Page 1 of 1
Classes in Use
Posted: Fri Aug 07, 2009 12:21 pm
by ConvertFromOldNGs
by torrie >> Thu, 27 Feb 2003 9:06:53 GMT
Does anyone know how Jade gets the list of classes in use?
We are developing in a multi user environment and I'll like to write some code that tells me when everyone has finished using a class so I can then modify it. I can't see any classes of methods give this information.
Perhaps the Classes in Use Browser should have a Notify when Not in Use button?
Torrie
Re: Classes in Use
Posted: Fri Aug 07, 2009 12:21 pm
by ConvertFromOldNGs
by
allistar >> Thu, 27 Feb 2003 22:25:37 GMT
Hi Torrie,
It's possible that Jade is looking at the lock collections. There are ways of accessing those, but I thnik that is only on a node by node basis. Perhaps it is for the server node, in which case you could write a serverExecution method see what objects have been locked.
Just an idea,
Allistar.
------------------------------------------------------------------
Allistar Melville
Software Developer, Analyst
allistar@silvermoon.co.nz
Auckland, NEW ZEALAND
Silvermoon Software
Specialising in JADE development and consulting
Visit us at:
http://www.silvermoon.co.nz ------------------------------------------------------------------
Re: Classes in Use
Posted: Fri Aug 07, 2009 12:21 pm
by ConvertFromOldNGs
by torrie >> Fri, 28 Feb 2003 8:28:03 GMT
Allistar
I've just looked at the locks collection and there is hardly anything in there compared to the list of classes is use. In fact the locks collections were empty but there were lots of other classes is use.
Torrie
Re: Classes in Use
Posted: Fri Aug 07, 2009 12:21 pm
by ConvertFromOldNGs
by cnwsvm1 >> Sun, 2 Mar 2003 22:00:33 GMT
Torrie, this looks like a pretty sad way to spend Friday night. Perhaps you need self.getALife():Life;
Re: Classes in Use
Posted: Fri Aug 07, 2009 12:21 pm
by ConvertFromOldNGs
by torrie >> Mon, 3 Mar 2003 9:20:02 GMT
Allistar
Try app.actualTime.cnGMT for an explaination why my posts look like I spend my nights working!
Torrie in a suprisingly sunny Yorkshire
Re: Classes in Use
Posted: Fri Aug 07, 2009 12:21 pm
by ConvertFromOldNGs
by cnwsvm1 >> Mon, 3 Mar 2003 20:43:52 GMT
Hi Torrie
I sent a response to this thread to your stated email address - is it correct?