[Mc4j-cvs] mc4j/application/dashboards/carbon Carbon_ConfigurationTree.xml,NONE,1.1 Carbon_MemoryInf
Brought to you by:
ghinkl
From: Greg H. <gh...@us...> - 2004-04-07 03:33:17
|
Update of /cvsroot/mc4j/mc4j/application/dashboards/carbon In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19835/application/dashboards/carbon Added Files: Carbon_ConfigurationTree.xml Carbon_MemoryInfo.xml Carbon_ServerInfo.xml Log Message: Updated for the new matching semantics and dashboard specs. Reorganized. --- NEW FILE: Carbon_MemoryInfo.xml --- <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE Dashboard SYSTEM "Dashboard.dtd"> <!-- Document : BasicMBean.xml Created on : October 6, 2002, 10:01 PM Author : ghinkl Description: Displays the basic information of an MBean --> <Dashboard version="1.0" name="Carbon Memory Info"> <Description>This dashboard displays basic information relating to the overall execution of the Carbon Framework.</Description> <DashboardMatch type="Global"> <BeanMatch id="BeanNode" type="Single"> <Condition type="BeanObjectNameCondition" filter="CarbonManagementComponent"/> </BeanMatch> </DashboardMatch> <LayoutManager type="java.awt.BorderLayout"/> <Content> <Component type="javax.swing.JPanel"> <Constraint type="BorderConstraints" direction="NORTH"/> <!--LayoutManager type="java.awt.GridBagLayout"/--> <LayoutManager type="java.awt.GridLayout" rows="2" cols="1"/> <Content> <Component type="javax.swing.JLabel" id="titleLable"> <!--Constraint type="java.awt.GridBagConstraints" anchor="NORTHWEST" fill="HORIZONTAL" gridx="1" gridy="1"/--> <Attribute name="text" value="(Literal)Carbon Management Dashboard"/> <Attribute name="font" value="(Literal)Dialog bold 24"/> <Attribute name="foreground" value="(Literal)0xFF2222"/> </Component> <Component type="javax.swing.JTextArea"> <!--Constraint type="java.awt.GridBagConstraints" anchor="NORTH" gridx="1" gridy="2"/--> <Attribute name="text" value="(Literal)This Dashboard displays important information about the status of your Carbon Component Framework."/> <Attribute name="opaque" value="(Literal)false"/> <Attribute name="editable" value="(Literal)false"/> </Component> </Content> </Component> <Component type="javax.swing.JScrollPane"> <Content> <Component type="javax.swing.JPanel"> <LayoutManager type="java.awt.BoxLayout" axis="Y_AXIS"/> <Constraint type="BorderConstraints" direction="CENTER"/> <Attribute name="background" value="(Literal)0xFFFFFF"/> <Content> <Component type="org.mc4j.console.swing.SectionHolder"> <Attribute name="title" value="(Literal)General Carbon Information"/> <Attribute name="background" value="(Literal)0xFFFFFF"/> <Content> <Component type="org.mc4j.console.dashboard.components.NumericAttributeGraph"> <Attribute name="beanNode" value="BeanNode"/> <Constraint type="java.awt.GridBagConstraints" anchor="NORTH" gridx="1" gridy="2" widthx="2" weightx="0.5" weighty="0.5" fill="BOTH" insets="3,3,3,3"/> <Attribute name="preferredSize" value="(Literal)600,600"/> <Attribute name="updateInterval" value="(Literal)500"/> <Attribute name="attributeName" value="(Literal)FreeMemory"/> </Component> </Content> </Component> <Component type="org.mc4j.console.swing.SectionHolder"> <Attribute name="title" value="(Literal)General Carbon Information"/> <Attribute name="background" value="(Literal)0xFFFFFF"/> <Content> <Component type="org.mc4j.console.dashboard.components.NumericAttributeGraph"> <Attribute name="beanNode" value="BeanNode"/> <Constraint type="java.awt.GridBagConstraints" anchor="NORTH" gridx="2" gridy="2" widthx="2" weightx="0.5" weighty="0.5" fill="BOTH" insets="3,3,3,3"/> <Attribute name="attributeName" value="(Literal)ActiveThreadCount"/> </Component> </Content> </Component> </Content> </Component> </Content> </Component> </Content> </Dashboard> --- NEW FILE: Carbon_ConfigurationTree.xml --- <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE Dashboard SYSTEM "Dashboard.dtd"> <Dashboard version="1.0" name="Carbon Configuration Tree"> <Description>This dashboard shows a tree view Carbon Configurations.</Description> <DashboardMatch type="Global"> <BeanMatch id="BeanNode" type="Single"> <Condition type="BeanObjectNameCondition" filter="type=org.sape.carbon.services.carbonmanagement.CarbonManagementService"/> </BeanMatch> </DashboardMatch> <LayoutManager type="java.awt.BorderLayout"/> <Content> <!-- *** Header *** --> <Component type="javax.swing.JPanel"> <Constraint type="BorderConstraints" direction="NORTH"/> <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)Dialog bold 24"/> <Attribute name="foreground" value="(Literal)0xFF2222"/> </Component> <Component type="org.mc4j.console.dashboard.components.RefreshControlComponent"> <Constraint type="BorderConstraints" direction="EAST"/> <Attribute name="refreshDelay" value="(Literal)30000"/> </Component> <Component type="javax.swing.JTextArea"> <Constraint type="BorderConstraints" direction="SOUTH"/> <Attribute name="text" value="DashboardDescription"/> <Attribute name="font" value="(Literal)Dialog bold 16"/> <Attribute name="opaque" value="(Literal)false"/> <Attribute name="editable" value="(Literal)false"/> </Component> </Content> </Component> <Component type="org.mc4j.carbon.config.tree.ConfigurationTreeComponent"> <Constraint type="BorderConstraints" direction="CENTER"/> <Attribute name="background" value="(Literal)0xFFFFFF"/> </Component> </Content> </Dashboard> --- NEW FILE: Carbon_ServerInfo.xml --- <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE Dashboard SYSTEM "Dashboard.dtd"> <!-- Document : BasicMBean.xml Created on : October 6, 2002, 10:01 PM Author : ghinkl Description: Displays the basic information of an MBean --> <Dashboard version="1.0" name="Carbon Info (Overview)"> <Description>This dashboard displays basic information relating to the overall execution of the Carbon Framework.</Description> <DashboardMatch type="Global"> <BeanMatch id="BeanNode" type="Single"> <Condition type="BeanObjectNameCondition" filter="CarbonManagementComponent"/> </BeanMatch> </DashboardMatch> <LayoutManager type="java.awt.BorderLayout"/> <Content> <Component type="javax.swing.JPanel"> <Constraint type="BorderConstraints" direction="NORTH"/> <!--LayoutManager type="java.awt.GridBagLayout"/--> <LayoutManager type="java.awt.GridLayout" rows="2" cols="1"/> <Content> <Component type="javax.swing.JLabel" id="titleLable"> <!--Constraint type="java.awt.GridBagConstraints" anchor="NORTHWEST" fill="HORIZONTAL" gridx="1" gridy="1"/--> <Attribute name="text" value="(Literal)Carbon Management Dashboard"/> <Attribute name="font" value="(Literal)Dialog bold 24"/> <Attribute name="foreground" value="(Literal)0xFF2222"/> </Component> <Component type="javax.swing.JTextArea"> <!--Constraint type="java.awt.GridBagConstraints" anchor="NORTH" gridx="1" gridy="2"/--> <Attribute name="text" value="(Literal)This Dashboard displays important information about the status of your Carbon Component Framework."/> <Attribute name="opaque" value="(Literal)false"/> <Attribute name="editable" value="(Literal)false"/> </Component> </Content> </Component> <!-- <Component type="javax.swing.JPanel"> <Constraint type="BorderConstraints" direction="CENTER"/> --> <Component type="javax.swing.JScrollPane"> <Content> <Component type="javax.swing.JPanel"> <LayoutManager type="java.awt.BoxLayout" axis="Y_AXIS"/> <Constraint type="BorderConstraints" direction="CENTER"/> <Attribute name="background" value="(Literal)0xFFFFFF"/> <Content> <Component type="org.mc4j.console.swing.SectionHolder"> <Attribute name="title" value="(Literal)MBean Operations"/> <Attribute name="background" value="(Literal)0xFFFFFF"/> <Content> <Component type="org.mc4j.console.dashboard.components.OperationListComponent"> <Attribute name="beanNode" value="BeanNode"/> <Attribute name="format" value="(Literal)FULL_FORMAT"/> </Component> </Content> </Component> <Component type="org.mc4j.console.swing.SectionHolder"> <Attribute name="title" value="(Literal)General Carbon Information"/> <Attribute name="background" value="(Literal)0xFFFFFF"/> <LayoutManager type="java.awt.GridBagLayout"/> <Content> <!-- <Component type="javax.swing.JPanel"> <Constraint type="java.awt.GridBagConstraints" anchor="NORTH" gridx="1" gridy="1" weightx="0.5" weighty="0.5" fill="BOTH"/> <Content> <Component type="org.mc4j.console.dashboard.components.NumericAttributeMeter"> <Attribute name="preferredSize" value="(Literal)150,150"/> <Attribute name="maxAttributeName" value="(Literal)TotalMemory"/> <Attribute name="currentAttributeName" value="(Literal)FreeMemory"/> <Attribute name="minimumSize" value="(Literal)50,50"/> <Attribute name="label" value="(Literal)Free Memory"/> <Attribute name="updateInterval" value="(Literal)1000"/> </Component> </Content> </Component> <Component type="javax.swing.JPanel"> <Constraint type="java.awt.GridBagConstraints" anchor="NORTH" gridx="2" gridy="1" weightx="0.5" weighty="0.5" fill="BOTH"/> <Content> <Component type="org.mc4j.console.dashboard.components.NumericAttributeMeter"> <Attribute name="preferredSize" value="(Literal)150,150"/> <Attribute name="maxAttributeValue" value="(Literal)100"/> <Attribute name="currentAttributeName" value="(Literal)ActiveThreadCount"/> <Attribute name="minimumSize" value="(Literal)50,50"/> <Attribute name="label" value="(Literal)Thread Usage"/> </Component> </Content> </Component> --> <Component type="org.mc4j.console.dashboard.components.NumericAttributeGraph"> <Attribute name="beanNode" value="BeanNode"/> <Constraint type="java.awt.GridBagConstraints" anchor="NORTH" gridx="1" gridy="2" widthx="2" weightx="0.5" weighty="0.5" fill="BOTH" insets="3,3,3,3"/> <Attribute name="preferredSize" value="(Literal)100,100"/> <Attribute name="updateInterval" value="(Literal)500"/> <Attribute name="attributeName" value="(Literal)FreeMemory"/> </Component> <Component type="org.mc4j.console.dashboard.components.NumericAttributeGraph"> <Attribute name="beanNode" value="BeanNode"/> <Constraint type="java.awt.GridBagConstraints" anchor="NORTH" gridx="2" gridy="2" widthx="2" weightx="0.5" weighty="0.5" fill="BOTH" insets="3,3,3,3"/> <Attribute name="attributeName" value="(Literal)ActiveThreadCount"/> </Component> </Content> </Component> </Content> </Component> </Content> </Component> <!-- List of methods to execute --> <!-- <Component type="org.mc4j.console.dashboard.components.OperationListComponent"> <Constraint type="BorderConstraints" direction="SOUTH"/> <Attribute name="format" value="(Literal)BUTTON_ONLY_FORMAT"/> <Border type="javax.swing.border.TitledBorder"> <Attribute name="title" value="(Literal)Server Actions"/> </Border> </Component> --> </Content> </Dashboard> |