| java.lang.Object org.objectweb.jonas.webapp.jonasadmin.MBeanTreeBuilder
MBeanTreeBuilder | public class MBeanTreeBuilder implements TreeBuilder(Code) | | Implementation of TreeBuilder that adds the nodes required
for administering the Jonas server.
author: Michel-Ange ANTON (initial developer) author: Florent Benoit (changes for struts 1.2.2) |
Method Summary | |
public void | buildTree(TreeControl treeControl, ActionServlet servlet, HttpServletRequest request) Add the required nodes to the specified treeControl
instance. | public void | getJ2eeMBeans(TreeControlNode p_ParentNode, MessageResources p_Resources, ArrayList p_List) Append nodes for all defined J2EE MBeans. | protected void | getMBeanInfo(TreeControlNode nodeMBean, ObjectName onMBean, MessageResources resources, String serverName) Append nodes Attributes and Operations for a defined MBean. | public void | getMBeans(TreeControlNode rootNode, MessageResources resources, HttpServletRequest request) Append nodes for all defined MBeans. | public void | getOwnerMBeans(TreeControlNode p_ParentNode, MessageResources p_Resources, ArrayList p_List) Append nodes for all defined Owner MBeans. | public void | getUnknownMBeans(TreeControlNode p_ParentNode, MessageResources p_Resources, ArrayList p_List) Append nodes for all defined Unknown MBeans. |
buildTree | public void buildTree(TreeControl treeControl, ActionServlet servlet, HttpServletRequest request)(Code) | | Add the required nodes to the specified treeControl
instance.
Parameters: treeControl - The TreeControl to which we shouldadd our nodes Parameters: servlet - The controller servlet for the admin application Parameters: request - The servlet request we are processing |
getJ2eeMBeans | public void getJ2eeMBeans(TreeControlNode p_ParentNode, MessageResources p_Resources, ArrayList p_List) throws Exception(Code) | | Append nodes for all defined J2EE MBeans.
Parameters: p_ParentNode - Parent node for the tree control Parameters: p_Resources - The MessageResources for our localized messages Parameters: p_List - The list of Mbeans exception: Exception - if an exception occurs building the tree |
getMBeanInfo | protected void getMBeanInfo(TreeControlNode nodeMBean, ObjectName onMBean, MessageResources resources, String serverName) throws Exception(Code) | | Append nodes Attributes and Operations for a defined MBean.
Parameters: nodeMBean - The MBean node Parameters: onMBean - The MBean Object name Parameters: resources - Resource throws: Exception - |
getMBeans | public void getMBeans(TreeControlNode rootNode, MessageResources resources, HttpServletRequest request) throws Exception(Code) | | Append nodes for all defined MBeans.
Parameters: rootNode - Root node for the tree control Parameters: resources - The MessageResources for our localized messages exception: Exception - if an exception occurs building the tree |
getOwnerMBeans | public void getOwnerMBeans(TreeControlNode p_ParentNode, MessageResources p_Resources, ArrayList p_List) throws Exception(Code) | | Append nodes for all defined Owner MBeans.
Parameters: p_ParentNode - Parent node for the tree control Parameters: p_Resources - The MessageResources for our localized messages Parameters: p_List - The list of Mbeans exception: Exception - if an exception occurs building the tree |
getUnknownMBeans | public void getUnknownMBeans(TreeControlNode p_ParentNode, MessageResources p_Resources, ArrayList p_List) throws Exception(Code) | | Append nodes for all defined Unknown MBeans.
Parameters: p_ParentNode - Parent node for the tree control Parameters: p_Resources - The MessageResources for our localized messages Parameters: p_List - The list of Mbeans exception: Exception - if an exception occurs building the tree |
|
|