geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rwo...@apache.org
Subject svn commit: r818756 - /geronimo/server/branches/2.2/plugins/monitoring/mconsole-war/src/main/java/org/apache/geronimo/monitoring/console/MonitoringPortlet.java
Date Fri, 25 Sep 2009 07:41:21 GMT
Author: rwonly
Date: Fri Sep 25 07:41:21 2009
New Revision: 818756

URL: http://svn.apache.org/viewvc?rev=818756&view=rev
Log:
GERONIMO-4890 The graphs still can be seen under the view when I disable the server (Patch
from Siqi Du)

Modified:
    geronimo/server/branches/2.2/plugins/monitoring/mconsole-war/src/main/java/org/apache/geronimo/monitoring/console/MonitoringPortlet.java

Modified: geronimo/server/branches/2.2/plugins/monitoring/mconsole-war/src/main/java/org/apache/geronimo/monitoring/console/MonitoringPortlet.java
URL: http://svn.apache.org/viewvc/geronimo/server/branches/2.2/plugins/monitoring/mconsole-war/src/main/java/org/apache/geronimo/monitoring/console/MonitoringPortlet.java?rev=818756&r1=818755&r2=818756&view=diff
==============================================================================
--- geronimo/server/branches/2.2/plugins/monitoring/mconsole-war/src/main/java/org/apache/geronimo/monitoring/console/MonitoringPortlet.java
(original)
+++ geronimo/server/branches/2.2/plugins/monitoring/mconsole-war/src/main/java/org/apache/geronimo/monitoring/console/MonitoringPortlet.java
Fri Sep 25 07:41:21 2009
@@ -475,6 +475,8 @@
                     GraphsBuilder builder = new GraphsBuilder();
                     List<StatsGraph> statsGraphs = new ArrayList<StatsGraph>();
                     for (Graph graph: graphs) {
+                       if(!graph.getNode().isEnabled())
+                           continue;
                         StatsGraph statsGraph = builder.getStatsGraph(graph);
                         if (statsGraph != null) {
                             statsGraphs.add(statsGraph);



Mime
View raw message