[teiid-commits] teiid SVN: r1042 - trunk/server/src/main/java/com/metamatrix/admin/server.

teiid-commits at lists.jboss.org teiid-commits at lists.jboss.org
Thu Jun 11 17:19:33 EDT 2009


Author: vhalbert at redhat.com
Date: 2009-06-11 17:19:33 -0400 (Thu, 11 Jun 2009)
New Revision: 1042

Modified:
   trunk/server/src/main/java/com/metamatrix/admin/server/ServerMonitoringAdminImpl.java
Log:
Teiid-570 - the enabled state for the dqp needs to come from the deployed component, like the connector.   Its in the context of the host/process that the connector / services can be enabled/disabled.

Modified: trunk/server/src/main/java/com/metamatrix/admin/server/ServerMonitoringAdminImpl.java
===================================================================
--- trunk/server/src/main/java/com/metamatrix/admin/server/ServerMonitoringAdminImpl.java	2009-06-11 21:15:48 UTC (rev 1041)
+++ trunk/server/src/main/java/com/metamatrix/admin/server/ServerMonitoringAdminImpl.java	2009-06-11 21:19:33 UTC (rev 1042)
@@ -376,6 +376,8 @@
 			            dqp.setProperties(defn.getProperties());
 			        }
 			        
+			        dqp.setEnabled(component.isEnabled());
+			        
 			        String key = MMAdminObject.buildIdentifier(identifierParts).toUpperCase();
 			        runtimeMap.put(key, dqp);
 			        results.add(dqp);




More information about the teiid-commits mailing list