org.objectweb.jonas.webapp.jonasadmin.MBeanTreeBuilder Class Reference

List of all members.

Public Member Functions

void buildTree (TreeControl treeControl, ActionServlet servlet, HttpServletRequest request)
void getMBeans (TreeControlNode rootNode, MessageResources resources) throws Exception
void getOwnerMBeans (TreeControlNode p_ParentNode, MessageResources p_Resources, ArrayList p_List) throws Exception
void getJ2eeMBeans (TreeControlNode p_ParentNode, MessageResources p_Resources, ArrayList p_List) throws Exception
void getUnknownMBeans (TreeControlNode p_ParentNode, MessageResources p_Resources, ArrayList p_List) throws Exception

Protected Member Functions

void getMBeanInfo (TreeControlNode nodeMBean, ObjectName onMBean, MessageResources resources) throws Exception

Detailed Description

Implementation of TreeBuilder that adds the nodes required for administering the Jonas server.

Author:
Michel-Ange ANTON (initial developer)

Florent Benoit (changes for struts 1.2.2)

Definition at line 60 of file MBeanTreeBuilder.java.


Member Function Documentation

void org.objectweb.jonas.webapp.jonasadmin.MBeanTreeBuilder.buildTree TreeControl  treeControl,
ActionServlet  servlet,
HttpServletRequest  request
 

Add the required nodes to the specified treeControl instance.

Parameters:
treeControl The TreeControl to which we should add our nodes
servlet The controller servlet for the admin application
request The servlet request we are processing

Definition at line 74 of file MBeanTreeBuilder.java.

References org.objectweb.jonas.webapp.jonasadmin.MBeanTreeBuilder.getMBeans(), and org.objectweb.jonas.webapp.taglib.TreeControl.getRoot().

Here is the call graph for this function:

void org.objectweb.jonas.webapp.jonasadmin.MBeanTreeBuilder.getJ2eeMBeans TreeControlNode  p_ParentNode,
MessageResources  p_Resources,
ArrayList  p_List
throws Exception
 

Append nodes for all defined J2EE MBeans.

Parameters:
p_ParentNode Parent node for the tree control
p_Resources The MessageResources for our localized messages
p_List The list of Mbeans
Exceptions:
Exception if an exception occurs building the tree

Definition at line 194 of file MBeanTreeBuilder.java.

References org.objectweb.jonas.webapp.taglib.TreeControlNode.addChild(), org.objectweb.jonas.webapp.jonasadmin.mbean.MbeanItem.getDomain(), org.objectweb.jonas.webapp.jonasadmin.mbean.J2eeMbeanItem.getJ2eeType(), org.objectweb.jonas.webapp.taglib.TreeControlNode.getName(), and org.objectweb.jonas.webapp.jonasadmin.mbean.MbeanItem.getObjectName().

Referenced by org.objectweb.jonas.webapp.jonasadmin.MBeanTreeBuilder.getMBeans().

Here is the call graph for this function:

void org.objectweb.jonas.webapp.jonasadmin.MBeanTreeBuilder.getMBeanInfo TreeControlNode  nodeMBean,
ObjectName  onMBean,
MessageResources  resources
throws Exception [protected]
 

Append nodes Attributes and Operations for a defined MBean.

Parameters:
nodeMBean The MBean node
onMBean The MBean Object name
resources Resource
Exceptions:
Exception 

Definition at line 318 of file MBeanTreeBuilder.java.

References org.objectweb.jonas.webapp.taglib.TreeControlNode.addChild().

Here is the call graph for this function:

void org.objectweb.jonas.webapp.jonasadmin.MBeanTreeBuilder.getMBeans TreeControlNode  rootNode,
MessageResources  resources
throws Exception
 

Append nodes for all defined MBeans.

Parameters:
rootNode Root node for the tree control
resources The MessageResources for our localized messages
Exceptions:
Exception if an exception occurs building the tree

Definition at line 97 of file MBeanTreeBuilder.java.

References org.objectweb.jonas.webapp.taglib.TreeControlNode.addChild(), org.objectweb.jonas.webapp.jonasadmin.MBeanTreeBuilder.getJ2eeMBeans(), org.objectweb.jonas.webapp.jonasadmin.MBeanTreeBuilder.getOwnerMBeans(), and org.objectweb.jonas.webapp.jonasadmin.MBeanTreeBuilder.getUnknownMBeans().

Referenced by org.objectweb.jonas.webapp.jonasadmin.MBeanTreeBuilder.buildTree(), and org.objectweb.jonas.webapp.jonasadmin.deploy.BaseDeployAction.refreshMBeansTree().

Here is the call graph for this function:

void org.objectweb.jonas.webapp.jonasadmin.MBeanTreeBuilder.getOwnerMBeans TreeControlNode  p_ParentNode,
MessageResources  p_Resources,
ArrayList  p_List
throws Exception
 

Append nodes for all defined Owner MBeans.

Parameters:
p_ParentNode Parent node for the tree control
p_Resources The MessageResources for our localized messages
p_List The list of Mbeans
Exceptions:
Exception if an exception occurs building the tree

Definition at line 125 of file MBeanTreeBuilder.java.

References org.objectweb.jonas.webapp.taglib.TreeControlNode.addChild(), org.objectweb.jonas.webapp.jonasadmin.mbean.MbeanItem.getDomain(), org.objectweb.jonas.webapp.taglib.TreeControlNode.getName(), org.objectweb.jonas.webapp.jonasadmin.mbean.MbeanItem.getObjectName(), and org.objectweb.jonas.webapp.jonasadmin.mbean.OwnerMbeanItem.getType().

Referenced by org.objectweb.jonas.webapp.jonasadmin.MBeanTreeBuilder.getMBeans().

Here is the call graph for this function:

void org.objectweb.jonas.webapp.jonasadmin.MBeanTreeBuilder.getUnknownMBeans TreeControlNode  p_ParentNode,
MessageResources  p_Resources,
ArrayList  p_List
throws Exception
 

Append nodes for all defined Unknown MBeans.

Parameters:
p_ParentNode Parent node for the tree control
p_Resources The MessageResources for our localized messages
p_List The list of Mbeans
Exceptions:
Exception if an exception occurs building the tree

Definition at line 262 of file MBeanTreeBuilder.java.

References org.objectweb.jonas.webapp.taglib.TreeControlNode.addChild(), org.objectweb.jonas.webapp.jonasadmin.mbean.MbeanItem.getDomain(), org.objectweb.jonas.webapp.taglib.TreeControlNode.getName(), and org.objectweb.jonas.webapp.jonasadmin.mbean.MbeanItem.getObjectName().

Referenced by org.objectweb.jonas.webapp.jonasadmin.MBeanTreeBuilder.getMBeans().

Here is the call graph for this function:


The documentation for this class was generated from the following file:
Generated on Tue Feb 15 15:08:38 2005 for JOnAS by  doxygen 1.3.9.1