airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ami...@apache.org
Subject svn commit: r1429941 - /airavata/trunk/modules/ws-messenger/message-monitor/src/main/java/org/apache/airavata/ws/monitor/Monitor.java
Date Mon, 07 Jan 2013 18:39:01 GMT
Author: amilaj
Date: Mon Jan  7 18:39:00 2013
New Revision: 1429941

URL: http://svn.apache.org/viewvc?rev=1429941&view=rev
Log:
Stopping monitoring if one is already started

Modified:
    airavata/trunk/modules/ws-messenger/message-monitor/src/main/java/org/apache/airavata/ws/monitor/Monitor.java

Modified: airavata/trunk/modules/ws-messenger/message-monitor/src/main/java/org/apache/airavata/ws/monitor/Monitor.java
URL: http://svn.apache.org/viewvc/airavata/trunk/modules/ws-messenger/message-monitor/src/main/java/org/apache/airavata/ws/monitor/Monitor.java?rev=1429941&r1=1429940&r2=1429941&view=diff
==============================================================================
--- airavata/trunk/modules/ws-messenger/message-monitor/src/main/java/org/apache/airavata/ws/monitor/Monitor.java
(original)
+++ airavata/trunk/modules/ws-messenger/message-monitor/src/main/java/org/apache/airavata/ws/monitor/Monitor.java
Mon Jan  7 18:39:00 2013
@@ -102,12 +102,14 @@ public class Monitor extends EventProduc
      * @throws MonitorException
      */
     public synchronized void start() throws MonitorException {
+
+        stop();
+
         // Stop the previous monitoring if any.
     	monitoringCompleted=false;
     	monitoringFailed=false;
     			
     	getEventDataRepository().triggerListenerForPreMonitorStart();
-        asynchronousStop();
 
         subscribe();
 



Mime
View raw message