You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by di...@apache.org on 2008/02/29 23:30:21 UTC

svn commit: r632467 - /webservices/axis2/trunk/java/modules/jaxws/src/org/apache/axis2/jaxws/registry/InvocationListenerRegistry.java

Author: dims
Date: Fri Feb 29 14:30:17 2008
New Revision: 632467

URL: http://svn.apache.org/viewvc?rev=632467&view=rev
Log:
Dustin spotted a potential ConcurrentModificationException condition...Thanks Dustin!

Modified:
    webservices/axis2/trunk/java/modules/jaxws/src/org/apache/axis2/jaxws/registry/InvocationListenerRegistry.java

Modified: webservices/axis2/trunk/java/modules/jaxws/src/org/apache/axis2/jaxws/registry/InvocationListenerRegistry.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/jaxws/src/org/apache/axis2/jaxws/registry/InvocationListenerRegistry.java?rev=632467&r1=632466&r2=632467&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/jaxws/src/org/apache/axis2/jaxws/registry/InvocationListenerRegistry.java (original)
+++ webservices/axis2/trunk/java/modules/jaxws/src/org/apache/axis2/jaxws/registry/InvocationListenerRegistry.java Fri Feb 29 14:30:17 2008
@@ -52,7 +52,7 @@
      * the InvocationListenerFactory. The instance will be stored in an 
      * internal map by its class name.
      */
-    public static void addFactory(InvocationListenerFactory facInstance) {
+    public synchronized static void addFactory(InvocationListenerFactory facInstance) {
         if(log.isDebugEnabled()) {
             log.debug("Adding InvocationListenerFactory instance: " + facInstance.getClass().getName());
         }



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