[federate-commits] Federate SVN: r35 - trunk/federate-client/src/main/java/com/metamatrix/common/comm/platform/socket/client.

federate-commits at lists.jboss.org federate-commits at lists.jboss.org
Mon Nov 24 16:36:24 EST 2008


Author: shawkins
Date: 2008-11-24 16:36:23 -0500 (Mon, 24 Nov 2008)
New Revision: 35

Modified:
   trunk/federate-client/src/main/java/com/metamatrix/common/comm/platform/socket/client/SocketServerConnection.java
Log:
FEDERATE-13 - simplifying connection and productinfo property usage

Modified: trunk/federate-client/src/main/java/com/metamatrix/common/comm/platform/socket/client/SocketServerConnection.java
===================================================================
--- trunk/federate-client/src/main/java/com/metamatrix/common/comm/platform/socket/client/SocketServerConnection.java	2008-11-24 20:53:29 UTC (rev 34)
+++ trunk/federate-client/src/main/java/com/metamatrix/common/comm/platform/socket/client/SocketServerConnection.java	2008-11-24 21:36:23 UTC (rev 35)
@@ -83,20 +83,6 @@
             throw new CommunicationException(e, CommPlatformPlugin.Util.getString("PlatformServerConnectionFactory.Unable_to_find_a_component_used_in_logging_on_to_MetaMatrix")); //$NON-NLS-1$
         } 
 
-        // Update VDB name/version in connection properties
-        String vdbName = logonResult.getProductInfo(ProductInfoConstants.VIRTUAL_DB);
-        if (vdbName != null) {
-            // Some things use one name some another... hard to tell who wants what.
-            connProps.setProperty(MMURL_Properties.JDBC.VDB_NAME, vdbName);
-            connProps.setProperty(MMURL_Properties.JDBC.VDB_VERSION, logonResult.getProductInfo(ProductInfoConstants.VDB_VERSION));
-            connProps.setProperty("vdbName", vdbName); //$NON-NLS-1$
-            connProps.setProperty("vdbVersion", logonResult.getProductInfo(ProductInfoConstants.VDB_VERSION)); //$NON-NLS-1$
-        }
-        
-        // Update user name in connection properties to account for fully qualified user names
-        String userName = logonResult.getUserName();
-        if ( userName != null ) connProps.setProperty( MMURL_Properties.JDBC.USER_NAME, userName );
-        
         this.pingTimer = pingTimer;
         if (this.pingTimer != null && logonResult.getPingInterval() > 0) {
         	schedulePing();




More information about the federate-commits mailing list