From: <sc...@hy...> - 2010-05-04 21:56:42
|
Author: scottmf Date: 2010-05-04 14:56:35 -0700 (Tue, 04 May 2010) New Revision: 14570 URL: http://svn.hyperic.org/?view=rev&root=Hyperic+HQ&revision=14570 Modified: trunk/src/org/hyperic/hq/product/server/mbean/ProductPluginDeployer.java Log: add diagnostic in startup sequence Modified: trunk/src/org/hyperic/hq/product/server/mbean/ProductPluginDeployer.java =================================================================== --- trunk/src/org/hyperic/hq/product/server/mbean/ProductPluginDeployer.java 2010-05-04 21:55:43 UTC (rev 14569) +++ trunk/src/org/hyperic/hq/product/server/mbean/ProductPluginDeployer.java 2010-05-04 21:56:35 UTC (rev 14570) @@ -61,9 +61,11 @@ import org.apache.commons.logging.LogFactory; import org.hyperic.hq.application.HQApp; import org.hyperic.hq.bizapp.server.session.SystemAudit; +import org.hyperic.hq.common.DiagnosticThread; import org.hyperic.hq.common.SystemException; import org.hyperic.hq.events.server.session.RegisteredTriggerStartupListener; import org.hyperic.hq.hqu.rendit.RenditServer; +import org.hyperic.hq.measurement.MetricsNotComingInDiagnostic; import org.hyperic.hq.product.PluginException; import org.hyperic.hq.product.PluginInfo; import org.hyperic.hq.product.ProductPlugin; @@ -229,7 +231,9 @@ _plugins.clear(); waitForTriggerInit(); startConcurrentStatsCollector(); + DiagnosticThread.addDiagnosticObject(MetricsNotComingInDiagnostic.getInstance()); + //generally means we are done deploying plugins at startup. //but we are not "done" since a plugin can be dropped into //hq-plugins at anytime. |