CVSROOT: /cvs/gnome Module name: yarrr Changes by: walters 05/05/04 13:28:24
Modified files: src/org/gnome/yarrr: ReferencableObject.java HibernateUtil.java Monitor.java Chat.java ActiveTopic.java YarrrXmlRpcDispatcher.java Yarrr.java ToplevelReferencableObject.java src/org/gnome/yarrr/tests: YarrrRemoteTests.java YarrrUsingTest.java . : ChangeLog Log message: 2005-05-04 Colin Walters <[EMAIL PROTECTED]> * ActiveTopic.java: Remove unused getRegistry method. * Chat.java: Rename getMessagesSince(Date d) to getMessagesSinceDate() to making remoting clearer. * HibernateUtil.java: Add a ThreadLocal<Set<Monitor>> which keeps track of which objects have changed in this Hibernate transaction. On commit, we call the commit() method in each Monitor object. On rollback we simply don't call that method. * Monitor.java: Remove MonitorListener. Rename signalChanged to queueSignalChanged; make it simply add this monitor to the current Hibernate session's set of changed objects. Add new commit() method which does all the lifting signalChanged did before. * ReferencableObject.java: Minor logging optimization. * ToplevelReferencableObject.java: Add a static ChangeListener interface which we can use for tests. * Yarrr.java: Remove unused registry instance. * YarrrXmlRpcDispatcher.java: Use HibernateUtil.beginTransaction() instead of creating our own transaction. * YarrrRemoteTests.java: Fix chat tests. * YarrrUsingTest.java: Update for s/MonitorListener/ChangeListener/. URL : http://cvs.gnome.org/bonsai/cvsquery.cgi?branch=&dir=yarrr&who=walters&date=explicit&mindate=2005-05-04%2013:27&maxdate=2005-05-04%2013:29 _______________________________________________ cvs-commits-list mailing list cvs-commits-list@gnome.org http://mail.gnome.org/mailman/listinfo/cvs-commits-list