[Mc4j-cvs] mc4j/application/dashboards/jboss JBoss_Web_JettyNew.xml,NONE,1.1 JBoss_ServerInfoMBean.x
Brought to you by:
ghinkl
From: Greg H. <gh...@us...> - 2004-04-07 20:58:45
|
Update of /cvsroot/mc4j/mc4j/application/dashboards/jboss In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26090/application/dashboards/jboss Modified Files: JBoss_ServerInfoMBean.xml Added Files: JBoss_Web_JettyNew.xml Log Message: A few more tweaks to make all dashboards work again. --- NEW FILE: JBoss_Web_JettyNew.xml --- <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE Dashboard SYSTEM "Dashboard.dtd"> <Dashboard version="1.0" name="JBoss Jetty Statistics"> <Description>This dashboard shows the statistics of a Jetty servlet context.</Description> <DashboardMatch type="Global" location="/JBoss/Web" > <BeanMatch id="Jetty" type="Single"> <Condition type="BeanObjectNameCondition" filter="^jboss.jetty:Server=0$"/> </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)2000"/> </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> <!-- *** 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)Connection Information"/> <Attribute name="background" value="(Literal)0xFFFFFF"/> <LayoutManager type="java.awt.GridLayout" rows="1" cols="2"/> <Content> <Component type="org.mc4j.console.dashboard.components.NumericAttributeGraph"> <Attribute name="beanNode" value="Jetty"/> <Attribute name="preferredSize" value="(Literal)400,150"/> <Attribute name="attributeName" value="(Literal)connections"/> <Attribute name="attributeName" value="(Literal)connectionsOpen"/> <Attribute name="attributeName" value="(Literal)connectionsOpenMax"/> <Attribute name="attributeName" value="(Literal)connectionsRequestsAve"/> <Attribute name="attributeName" value="(Literal)connectionsRequestsMax"/> </Component> <Component type="org.mc4j.console.dashboard.components.NumericAttributeGraph"> <Attribute name="beanNode" value="Jetty"/> <Attribute name="preferredSize" value="(Literal)400,150"/> <Attribute name="attributeName" value="(Literal)connectionsDurationAve"/> <Attribute name="attributeName" value="(Literal)connectionsDurationMax"/> </Component> </Content> </Component> <Component type="org.mc4j.console.swing.SectionHolder"> <Attribute name="title" value="(Literal)Requests Information"/> <Attribute name="background" value="(Literal)0xFFFFFF"/> <LayoutManager type="java.awt.GridLayout" rows="1" cols="2"/> <Content> <Component type="org.mc4j.console.dashboard.components.NumericAttributeGraph"> <Attribute name="beanNode" value="Jetty"/> <Attribute name="preferredSize" value="(Literal)400,150"/> <Attribute name="attributeName" value="(Literal)requests"/> <Attribute name="attributeName" value="(Literal)requestsActive"/> <Attribute name="attributeName" value="(Literal)requestsActiveMax"/> </Component> <Component type="org.mc4j.console.dashboard.components.NumericAttributeGraph"> <Attribute name="beanNode" value="Jetty"/> <Attribute name="preferredSize" value="(Literal)400,150"/> <Attribute name="attributeName" value="(Literal)requestsDurationAve"/> <Attribute name="attributeName" value="(Literal)requestsDurationMax"/> </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> Index: JBoss_ServerInfoMBean.xml =================================================================== RCS file: /cvsroot/mc4j/mc4j/application/dashboards/jboss/JBoss_ServerInfoMBean.xml,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** JBoss_ServerInfoMBean.xml 7 Apr 2004 03:20:24 -0000 1.1 --- JBoss_ServerInfoMBean.xml 7 Apr 2004 20:45:13 -0000 1.2 *************** *** 128,131 **** --- 128,132 ---- <!-- List of methods to execute --> <Component type="org.mc4j.console.dashboard.components.OperationListComponent"> + <Attribute name="beanNode" value="JBossServerInfoBean"/> <Constraint type="BorderConstraints" direction="SOUTH"/> <Attribute name="format" value="(Literal)BUTTON_ONLY_FORMAT"/> |