Author: kstam
Date: Fri Feb  3 03:28:44 2012
New Revision: 1239994

URL: http://svn.apache.org/viewvc?rev=1239994&view=rev
Log:
SCOUT-126, using putAll rather then dropping the existing properties.

Modified:
    
juddi/scout/trunk/src/main/java/org/apache/ws/scout/registry/ConnectionFactoryImpl.java

Modified: 
juddi/scout/trunk/src/main/java/org/apache/ws/scout/registry/ConnectionFactoryImpl.java
URL: 
http://svn.apache.org/viewvc/juddi/scout/trunk/src/main/java/org/apache/ws/scout/registry/ConnectionFactoryImpl.java?rev=1239994&r1=1239993&r2=1239994&view=diff
==============================================================================
--- 
juddi/scout/trunk/src/main/java/org/apache/ws/scout/registry/ConnectionFactoryImpl.java
 (original)
+++ 
juddi/scout/trunk/src/main/java/org/apache/ws/scout/registry/ConnectionFactoryImpl.java
 Fri Feb  3 03:28:44 2012
@@ -136,7 +136,7 @@ public class ConnectionFactoryImpl exten
     public void setProperties(Properties properties)
     {
         if (properties==null) properties = new Properties();
-        this.properties = properties;
+        this.properties.putAll(properties);
         if (isUDDIv3(properties)) {
             // UDDI v3 uses the juddi client
             queryManagerURL     = 
"org.apache.juddi.v3.client.transport.wrapper.UDDIInquiryService#inquire";
@@ -146,8 +146,7 @@ public class ConnectionFactoryImpl exten
         } else {
             queryManagerURL = properties.getProperty(QUERYMANAGER_PROPERTY);
             lifeCycleManagerURL = 
properties.getProperty(LIFECYCLEMANAGER_PROPERTY);
-            securityManagerURL = 
properties.getProperty(SECURITYMANAGER_PROPERTY);
-        }
+       }
 
         transportClass = 
properties.getProperty(RegistryImpl.TRANSPORT_CLASS_PROPERTY_NAME);
         semanticEquivalences = 
properties.getProperty(SEMANTICEQUIVALENCES_PROPERTY);



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to