axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From az...@apache.org
Subject svn commit: r556352 - /webservices/axis2/trunk/java/modules/clustering/src/org/apache/axis2/clustering/configuration/DefaultConfigurationManager.java
Date Sat, 14 Jul 2007 23:12:07 GMT
Author: azeez
Date: Sat Jul 14 16:12:07 2007
New Revision: 556352

URL: http://svn.apache.org/viewvc?view=rev&rev=556352
Log:
When sending exceptionOccurred messages, there is no need to send to self, since the originator
already knows of this exception.


Modified:
    webservices/axis2/trunk/java/modules/clustering/src/org/apache/axis2/clustering/configuration/DefaultConfigurationManager.java

Modified: webservices/axis2/trunk/java/modules/clustering/src/org/apache/axis2/clustering/configuration/DefaultConfigurationManager.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/clustering/src/org/apache/axis2/clustering/configuration/DefaultConfigurationManager.java?view=diff&rev=556352&r1=556351&r2=556352
==============================================================================
--- webservices/axis2/trunk/java/modules/clustering/src/org/apache/axis2/clustering/configuration/DefaultConfigurationManager.java
(original)
+++ webservices/axis2/trunk/java/modules/clustering/src/org/apache/axis2/clustering/configuration/DefaultConfigurationManager.java
Sat Jul 14 16:12:07 2007
@@ -64,30 +64,12 @@
     }
 
     public void commit() throws ClusteringFault {
-
-        if (log.isDebugEnabled()) {
-            log.debug("Enter: DefaultConfigurationManager::commit");
-        }
-
         CommitCommand command = new CommitCommand();
         send(command);
-
-        if (log.isDebugEnabled()) {
-            log.debug("Exit: DefaultConfigurationManager::commit");
-        }
     }
 
     public void exceptionOccurred(Throwable throwable) throws ClusteringFault {
-
-        if (log.isDebugEnabled()) {
-            log.debug("Enter: DefaultConfigurationManager::exceptionOccurred");
-        }
-
-        send(new ExceptionCommand(throwable));
-
-        if (log.isDebugEnabled()) {
-            log.debug("Exit: DefaultConfigurationManager::exceptionOccurred");
-        }
+        sender.sendToGroup(new ExceptionCommand(throwable));
     }
 
     public void loadServiceGroups(String[] serviceGroupNames) throws ClusteringFault {
@@ -159,7 +141,7 @@
     }
 
     protected void send(Throwable throwable) throws ClusteringFault {
-        send(new ExceptionCommand(throwable));
+        sender.sendToGroup(new ExceptionCommand(throwable));
     }
 
     protected void send(ConfigurationClusteringCommand command) throws ClusteringFault {



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org


Mime
View raw message