From bpoussin@users.nuiton.org Fri Nov 26 15:26:53 2010
From: bpoussin@users.nuiton.org
To: wikitty-commits@list.nuiton.org
Subject: [Wikitty-commits] r529 -
	trunk/wikitty-api/src/main/java/org/nuiton/wikitty/services
Date: Fri, 26 Nov 2010 15:26:53 +0100
Message-ID: <20101126142653.A9CC915C7E@nuiton.codelutin.com>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="===============8871780202458619485=="

--===============8871780202458619485==
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable

Author: bpoussin
Date: 2010-11-26 15:26:53 +0100 (Fri, 26 Nov 2010)
New Revision: 529

Url: http://nuiton.org/repositories/revision/wikitty/529

Log:
fix possible problem in RemoteNotifierEvent (possible infinit loop event)

Modified:
   trunk/wikitty-api/src/main/java/org/nuiton/wikitty/services/WikittyService=
Notifier.java

Modified: trunk/wikitty-api/src/main/java/org/nuiton/wikitty/services/Wikitty=
ServiceNotifier.java
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/wikitty-api/src/main/java/org/nuiton/wikitty/services/WikittyServic=
eNotifier.java	2010-11-26 14:05:01 UTC (rev 528)
+++ trunk/wikitty-api/src/main/java/org/nuiton/wikitty/services/WikittyServic=
eNotifier.java	2010-11-26 14:26:53 UTC (rev 529)
@@ -598,7 +598,10 @@
=20
                 if (transporter !=3D null) {
                     // add this as listener when transporter is created with=
out error
-                    ws.addWikittyServiceListener(this, WikittyService.Servic=
eListenerType.ALL); // weak reference
+                    // FIX poussin 201O1126 remplacement du ALL par LOCAL
+                    // sinon on renvoie des events qui nous ont ete envoyes =
:(
+                    // ca risque de boucler :(
+                    ws.addWikittyServiceListener(this, WikittyService.Servic=
eListenerType.LOCAL); // weak reference
                 }
             }
             if (log.isInfoEnabled()) {


--===============8871780202458619485==--


