summaryrefslogtreecommitdiff
path: root/java/management/mc4j
diff options
context:
space:
mode:
authorRafael H. Schloming <rhs@apache.org>2006-09-19 22:06:50 +0000
committerRafael H. Schloming <rhs@apache.org>2006-09-19 22:06:50 +0000
commit913489deb2ee9dbf44455de5f407ddaf4bd8c540 (patch)
tree7ea442d6867d0076f1c9ea4f4265664059e7aff5 /java/management/mc4j
downloadqpid-python-913489deb2ee9dbf44455de5f407ddaf4bd8c540.tar.gz
Import of qpid from etp:
URL: https://etp.108.redhat.com/svn/etp/trunk/blaze Repository Root: https://etp.108.redhat.com/svn/etp Repository UUID: 06e15bec-b515-0410-bef0-cc27a458cf48 Revision: 608 git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@447994 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java/management/mc4j')
-rw-r--r--java/management/mc4j/qpid/BlazeConnections.xml84
-rw-r--r--java/management/mc4j/qpid/BlazeExchanges.xml81
-rw-r--r--java/management/mc4j/qpid/BlazeQueues.xml83
-rw-r--r--java/management/mc4j/qpid/BlazeSingleQueue.xml99
4 files changed, 347 insertions, 0 deletions
diff --git a/java/management/mc4j/qpid/BlazeConnections.xml b/java/management/mc4j/qpid/BlazeConnections.xml
new file mode 100644
index 0000000000..b75f49d95b
--- /dev/null
+++ b/java/management/mc4j/qpid/BlazeConnections.xml
@@ -0,0 +1,84 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ -
+ - Copyright (c) 2006 The Apache Software Foundation
+ -
+ - Licensed under the Apache License, Version 2.0 (the "License");
+ - you may not use this file except in compliance with the License.
+ - You may obtain a copy of the License at
+ -
+ - http://www.apache.org/licenses/LICENSE-2.0
+ -
+ - Unless required by applicable law or agreed to in writing, software
+ - distributed under the License is distributed on an "AS IS" BASIS,
+ - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ - See the License for the specific language governing permissions and
+ - limitations under the License.
+ -
+ -->
+<!DOCTYPE Dashboard PUBLIC "-//MC4J//DTD Dashboard 1.0//EN" "http://mc4j.sourceforge.net/Dashboard_1_0.dtd">
+
+<Dashboard version="1.0" name="Qpid AMQ Connections Statistics">
+
+ <Description>This dashboard shows the statistics of all Qpid Client Connections.</Description>
+
+ <DashboardMatch type="Global" location="/Qpid/Connections">
+ <BeanMatch id="ConnectionBeanList" type="Multiple">
+ <Condition type="BeanObjectNameCondition" filter="type=Connection"/>
+ </BeanMatch>
+ </DashboardMatch>
+
+ <LayoutManager type="java.awt.BorderLayout"/>
+ <Content>
+
+ <!-- *** The header section displays title and a refresh control *** -->
+ <Component type="javax.swing.JPanel">
+ <Constraint type="BorderConstraints" direction="NORTH"/>
+ <LayoutManager type="java.awt.BorderLayout"/>
+ <Border type="javax.swing.border.EmptyBorder" top="(Literal)2" left="(Literal)5" bottom="(Literal)2" right="(Literal)5"/>
+ <Content>
+ <Component type="javax.swing.JPanel">
+ <Constraint type="BorderConstraints" direction="CENTER"/>
+ <LayoutManager type="java.awt.BorderLayout"/>
+ <Content>
+ <Component type="javax.swing.JLabel" id="titleLable">
+ <Constraint type="BorderConstraints" direction="CENTER"/>
+ <Attribute name="text" value="DashboardName"/>
+ <Attribute name="font" value="(Literal)SansSerif bold 20"/>
+ <Attribute name="foreground" value="(Literal)0x666666"/>
+ </Component>
+ <Component type="javax.swing.JTextArea">
+ <Constraint type="BorderConstraints" direction="SOUTH"/>
+ <Attribute name="text" value="DashboardDescription"/>
+ <Attribute name="font" value="(Literal)DialogInput bold 14"/>
+ <Attribute name="opaque" value="(Literal)false"/>
+ <Attribute name="editable" value="(Literal)false"/>
+ </Component>
+ </Content>
+ </Component>
+ <Component type="org.mc4j.console.dashboard.components.RefreshControlComponent">
+ <Constraint type="BorderConstraints" direction="EAST"/>
+ <Attribute name="refreshDelay" value="(Literal)1000"/>
+ </Component>
+ </Content>
+ </Component>
+
+
+ <Component type="org.mc4j.console.dashboard.components.AttributeTableComponent">
+ <Attribute name="beanList" value="ConnectionBeanList"/>
+ <Constraint type="BorderConstraints" direction="CENTER"/>
+
+ <Attribute name="background" value="(Literal)0xFFFFFF"/>
+ <Attribute name="preferredSize" value="100,100"/>
+
+
+
+ <Attribute name="AttributeName" value="(Literal)RemoteAddress"/>
+ <Attribute name="AttributeName" value="(Literal)ReadBytes"/>
+ <Attribute name="AttributeName" value="(Literal)WrittenBytes"/>
+ <Attribute name="AttributeName" value="(Literal)LastIoTime"/>
+ </Component>
+
+
+ </Content>
+</Dashboard>
diff --git a/java/management/mc4j/qpid/BlazeExchanges.xml b/java/management/mc4j/qpid/BlazeExchanges.xml
new file mode 100644
index 0000000000..6612c711c3
--- /dev/null
+++ b/java/management/mc4j/qpid/BlazeExchanges.xml
@@ -0,0 +1,81 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ -
+ - Copyright (c) 2006 The Apache Software Foundation
+ -
+ - Licensed under the Apache License, Version 2.0 (the "License");
+ - you may not use this file except in compliance with the License.
+ - You may obtain a copy of the License at
+ -
+ - http://www.apache.org/licenses/LICENSE-2.0
+ -
+ - Unless required by applicable law or agreed to in writing, software
+ - distributed under the License is distributed on an "AS IS" BASIS,
+ - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ - See the License for the specific language governing permissions and
+ - limitations under the License.
+ -
+ -->
+<!DOCTYPE Dashboard PUBLIC "-//MC4J//DTD Dashboard 1.0//EN" "http://mc4j.sourceforge.net/Dashboard_1_0.dtd">
+
+<Dashboard version="1.0" name="Qpid AMQ Exchanges">
+
+ <Description>This dashboard shows the statistics of all Qpid Exchanges.</Description>
+
+ <DashboardMatch type="Global" location="/Qpid/Exchanges">
+ <BeanMatch id="ConnectionBeanList" type="Multiple">
+ <Condition type="BeanObjectNameCondition" filter="type=Exchange"/>
+ </BeanMatch>
+ </DashboardMatch>
+
+ <LayoutManager type="java.awt.BorderLayout"/>
+ <Content>
+
+ <!-- *** The header section displays title and a refresh control *** -->
+ <Component type="javax.swing.JPanel">
+ <Constraint type="BorderConstraints" direction="NORTH"/>
+ <LayoutManager type="java.awt.BorderLayout"/>
+ <Border type="javax.swing.border.EmptyBorder" top="(Literal)2" left="(Literal)5" bottom="(Literal)2" right="(Literal)5"/>
+ <Content>
+ <Component type="javax.swing.JPanel">
+ <Constraint type="BorderConstraints" direction="CENTER"/>
+ <LayoutManager type="java.awt.BorderLayout"/>
+ <Content>
+ <Component type="javax.swing.JLabel" id="titleLable">
+ <Constraint type="BorderConstraints" direction="CENTER"/>
+ <Attribute name="text" value="DashboardName"/>
+ <Attribute name="font" value="(Literal)SansSerif bold 20"/>
+ <Attribute name="foreground" value="(Literal)0x666666"/>
+ </Component>
+ <Component type="javax.swing.JTextArea">
+ <Constraint type="BorderConstraints" direction="SOUTH"/>
+ <Attribute name="text" value="DashboardDescription"/>
+ <Attribute name="font" value="(Literal)DialogInput bold 14"/>
+ <Attribute name="opaque" value="(Literal)false"/>
+ <Attribute name="editable" value="(Literal)false"/>
+ </Component>
+ </Content>
+ </Component>
+ <Component type="org.mc4j.console.dashboard.components.RefreshControlComponent">
+ <Constraint type="BorderConstraints" direction="EAST"/>
+ <Attribute name="refreshDelay" value="(Literal)1000"/>
+ </Component>
+ </Content>
+ </Component>
+
+
+ <Component type="org.mc4j.console.dashboard.components.AttributeTableComponent">
+ <Attribute name="beanList" value="ConnectionBeanList"/>
+ <Constraint type="BorderConstraints" direction="CENTER"/>
+
+ <Attribute name="background" value="(Literal)0xFFFFFF"/>
+ <Attribute name="preferredSize" value="100,100"/>
+
+ <Attribute name="AttributeName" value="(Literal)Name"/>
+ <Attribute name="AttributeName" value="(Literal)Durable"/>
+ <Attribute name="AttributeName" value="(Literal)Bindings"/>
+ </Component>
+
+
+ </Content>
+</Dashboard>
diff --git a/java/management/mc4j/qpid/BlazeQueues.xml b/java/management/mc4j/qpid/BlazeQueues.xml
new file mode 100644
index 0000000000..4a6e55cdb7
--- /dev/null
+++ b/java/management/mc4j/qpid/BlazeQueues.xml
@@ -0,0 +1,83 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ -
+ - Copyright (c) 2006 The Apache Software Foundation
+ -
+ - Licensed under the Apache License, Version 2.0 (the "License");
+ - you may not use this file except in compliance with the License.
+ - You may obtain a copy of the License at
+ -
+ - http://www.apache.org/licenses/LICENSE-2.0
+ -
+ - Unless required by applicable law or agreed to in writing, software
+ - distributed under the License is distributed on an "AS IS" BASIS,
+ - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ - See the License for the specific language governing permissions and
+ - limitations under the License.
+ -
+ -->
+<!DOCTYPE Dashboard PUBLIC "-//MC4J//DTD Dashboard 1.0//EN" "http://mc4j.sourceforge.net/Dashboard_1_0.dtd">
+
+<Dashboard version="1.0" name="Qpid AMQ Queues">
+
+ <Description>This dashboard shows the statistics of all Qpid Queues.</Description>
+
+ <DashboardMatch type="Global" location="/Qpid/Queues">
+ <BeanMatch id="ConnectionBeanList" type="Multiple">
+ <Condition type="BeanObjectNameCondition" filter="type=Queue"/>
+ </BeanMatch>
+ </DashboardMatch>
+
+ <LayoutManager type="java.awt.BorderLayout"/>
+ <Content>
+
+ <!-- *** The header section displays title and a refresh control *** -->
+ <Component type="javax.swing.JPanel">
+ <Constraint type="BorderConstraints" direction="NORTH"/>
+ <LayoutManager type="java.awt.BorderLayout"/>
+ <Border type="javax.swing.border.EmptyBorder" top="(Literal)2" left="(Literal)5" bottom="(Literal)2" right="(Literal)5"/>
+ <Content>
+ <Component type="javax.swing.JPanel">
+ <Constraint type="BorderConstraints" direction="CENTER"/>
+ <LayoutManager type="java.awt.BorderLayout"/>
+ <Content>
+ <Component type="javax.swing.JLabel" id="titleLable">
+ <Constraint type="BorderConstraints" direction="CENTER"/>
+ <Attribute name="text" value="DashboardName"/>
+ <Attribute name="font" value="(Literal)SansSerif bold 20"/>
+ <Attribute name="foreground" value="(Literal)0x666666"/>
+ </Component>
+ <Component type="javax.swing.JTextArea">
+ <Constraint type="BorderConstraints" direction="SOUTH"/>
+ <Attribute name="text" value="DashboardDescription"/>
+ <Attribute name="font" value="(Literal)DialogInput bold 14"/>
+ <Attribute name="opaque" value="(Literal)false"/>
+ <Attribute name="editable" value="(Literal)false"/>
+ </Component>
+ </Content>
+ </Component>
+ <Component type="org.mc4j.console.dashboard.components.RefreshControlComponent">
+ <Constraint type="BorderConstraints" direction="EAST"/>
+ <Attribute name="refreshDelay" value="(Literal)1000"/>
+ </Component>
+ </Content>
+ </Component>
+
+
+ <Component type="org.mc4j.console.dashboard.components.AttributeTableComponent">
+ <Attribute name="beanList" value="ConnectionBeanList"/>
+ <Constraint type="BorderConstraints" direction="CENTER"/>
+
+ <Attribute name="background" value="(Literal)0xFFFFFF"/>
+ <Attribute name="preferredSize" value="100,100"/>
+
+ <Attribute name="AttributeName" value="(Literal)Name"/>
+ <Attribute name="AttributeName" value="(Literal)AutoDelete"/>
+ <Attribute name="AttributeName" value="(Literal)Durable"/>
+ <Attribute name="AttributeName" value="(Literal)Owner"/>
+ <Attribute name="AttributeName" value="(Literal)MessageCount"/>
+ </Component>
+
+
+ </Content>
+</Dashboard>
diff --git a/java/management/mc4j/qpid/BlazeSingleQueue.xml b/java/management/mc4j/qpid/BlazeSingleQueue.xml
new file mode 100644
index 0000000000..0879801746
--- /dev/null
+++ b/java/management/mc4j/qpid/BlazeSingleQueue.xml
@@ -0,0 +1,99 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ -
+ - Copyright (c) 2006 The Apache Software Foundation
+ -
+ - Licensed under the Apache License, Version 2.0 (the "License");
+ - you may not use this file except in compliance with the License.
+ - You may obtain a copy of the License at
+ -
+ - http://www.apache.org/licenses/LICENSE-2.0
+ -
+ - Unless required by applicable law or agreed to in writing, software
+ - distributed under the License is distributed on an "AS IS" BASIS,
+ - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ - See the License for the specific language governing permissions and
+ - limitations under the License.
+ -
+ -->
+<!DOCTYPE Dashboard PUBLIC "-//MC4J//DTD Dashboard 1.0//EN" "http://mc4j.sourceforge.net/Dashboard_1_0.dtd">
+
+<Dashboard version="1.0" name="Qpid Queue Statistics Graph">
+
+ <Description>This dashboard shows the statistics of a Qpid Queue</Description>
+
+ <DashboardMatch type="Bean">
+ <BeanMatch id="QueueNode" type="Single">
+ <Condition type="BeanObjectNameCondition" filter="type=Queue"/>
+ </BeanMatch>
+ </DashboardMatch>
+
+ <LayoutManager type="java.awt.BorderLayout"/>
+ <Content>
+
+ <!-- *** The header section displays title and a refresh control *** -->
+ <Component type="javax.swing.JPanel">
+ <Constraint type="BorderConstraints" direction="NORTH"/>
+ <LayoutManager type="java.awt.BorderLayout"/>
+ <Border type="javax.swing.border.EmptyBorder" top="(Literal)2" left="(Literal)5" bottom="(Literal)2" right="(Literal)5"/>
+ <Content>
+ <Component type="javax.swing.JPanel">
+ <Constraint type="BorderConstraints" direction="CENTER"/>
+ <LayoutManager type="java.awt.BorderLayout"/>
+ <Content>
+ <Component type="javax.swing.JLabel" id="titleLable">
+ <Constraint type="BorderConstraints" direction="CENTER"/>
+ <Attribute name="text" value="DashboardName"/>
+ <Attribute name="font" value="(Literal)SansSerif bold 20"/>
+ <Attribute name="foreground" value="(Literal)0x666666"/>
+ </Component>
+ <Component type="javax.swing.JTextArea">
+ <Constraint type="BorderConstraints" direction="SOUTH"/>
+ <Attribute name="text" value="DashboardDescription"/>
+ <Attribute name="font" value="(Literal)DialogInput bold 14"/>
+ <Attribute name="opaque" value="(Literal)false"/>
+ <Attribute name="editable" value="(Literal)false"/>
+ </Component>
+ </Content>
+ </Component>
+ </Content>
+ </Component>
+
+
+ <!-- *** Scroll pane of info *** -->
+ <Component type="javax.swing.JScrollPane">
+ <Attribute name="background" value="(Literal)0xFFFFFF"/>
+ <Content>
+ <Component type="javax.swing.JPanel">
+ <Attribute name="background" value="(Literal)0xFFFFFF"/>
+ <Constraint type="BorderConstraints" direction="CENTER"/>
+ <Attribute name="preferredSize" value="100,100"/>
+ <LayoutManager type="java.awt.BoxLayout" axis="Y_AXIS"/>
+ <Content>
+
+ <Component type="org.mc4j.console.swing.SectionHolder">
+ <Attribute name="title" value="(Literal)Queue Depth"/>
+ <Attribute name="background" value="(Literal)0xFFFFFF"/>
+ <LayoutManager type="java.awt.GridLayout" rows="1" cols="1"/>
+ <Content>
+ <Component type="org.mc4j.console.dashboard.components.NumericAttributeGraph">
+ <Attribute name="beanNode" value="QueueNode"/>
+
+ <Attribute name="preferredSize" value="(Literal)400,150"/>
+ <Attribute name="attributeName" value="(Literal)MessageCount"/>
+ </Component>
+ </Content>
+ </Component>
+
+ <Component type="org.mc4j.console.dashboard.components.FillerComponent">
+ <Attribute name="type" value="(Literal)VERTICAL_GLUE_SHAPE"/>
+ </Component>
+ </Content>
+
+ </Component>
+ </Content>
+ </Component>
+
+
+ </Content>
+</Dashboard>