|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.objectweb.jonas.webapp.jonasadmin.MBeanTreeBuilder
public class MBeanTreeBuilder
Implementation of TreeBuilder
that adds the nodes required
for administering the Jonas server.
Constructor Summary | |
---|---|
MBeanTreeBuilder()
|
Method Summary | |
---|---|
void |
buildTree(TreeControl treeControl,
org.apache.struts.action.ActionServlet servlet,
javax.servlet.http.HttpServletRequest request)
Add the required nodes to the specified treeControl
instance. |
void |
getJ2eeMBeans(TreeControlNode p_ParentNode,
org.apache.struts.util.MessageResources p_Resources,
java.util.ArrayList p_List)
Append nodes for all defined J2EE MBeans. |
protected void |
getMBeanInfo(TreeControlNode nodeMBean,
javax.management.ObjectName onMBean,
org.apache.struts.util.MessageResources resources,
java.lang.String serverName)
Append nodes Attributes and Operations for a defined MBean. |
void |
getMBeans(TreeControlNode rootNode,
org.apache.struts.util.MessageResources resources,
javax.servlet.http.HttpServletRequest request)
Append nodes for all defined MBeans. |
void |
getOwnerMBeans(TreeControlNode p_ParentNode,
org.apache.struts.util.MessageResources p_Resources,
java.util.ArrayList p_List)
Append nodes for all defined Owner MBeans. |
void |
getUnknownMBeans(TreeControlNode p_ParentNode,
org.apache.struts.util.MessageResources p_Resources,
java.util.ArrayList p_List)
Append nodes for all defined Unknown MBeans. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MBeanTreeBuilder()
Method Detail |
---|
public void buildTree(TreeControl treeControl, org.apache.struts.action.ActionServlet servlet, javax.servlet.http.HttpServletRequest request)
treeControl
instance.
buildTree
in interface TreeBuilder
treeControl
- The TreeControl
to which we should
add our nodesservlet
- The controller servlet for the admin applicationrequest
- The servlet request we are processingpublic void getMBeans(TreeControlNode rootNode, org.apache.struts.util.MessageResources resources, javax.servlet.http.HttpServletRequest request) throws java.lang.Exception
rootNode
- Root node for the tree controlresources
- The MessageResources for our localized messages
java.lang.Exception
- if an exception occurs building the treepublic void getOwnerMBeans(TreeControlNode p_ParentNode, org.apache.struts.util.MessageResources p_Resources, java.util.ArrayList p_List) throws java.lang.Exception
p_ParentNode
- Parent node for the tree controlp_Resources
- The MessageResources for our localized messagesp_List
- The list of Mbeans
java.lang.Exception
- if an exception occurs building the treepublic void getJ2eeMBeans(TreeControlNode p_ParentNode, org.apache.struts.util.MessageResources p_Resources, java.util.ArrayList p_List) throws java.lang.Exception
p_ParentNode
- Parent node for the tree controlp_Resources
- The MessageResources for our localized messagesp_List
- The list of Mbeans
java.lang.Exception
- if an exception occurs building the treepublic void getUnknownMBeans(TreeControlNode p_ParentNode, org.apache.struts.util.MessageResources p_Resources, java.util.ArrayList p_List) throws java.lang.Exception
p_ParentNode
- Parent node for the tree controlp_Resources
- The MessageResources for our localized messagesp_List
- The list of Mbeans
java.lang.Exception
- if an exception occurs building the treeprotected void getMBeanInfo(TreeControlNode nodeMBean, javax.management.ObjectName onMBean, org.apache.struts.util.MessageResources resources, java.lang.String serverName) throws java.lang.Exception
nodeMBean
- The MBean nodeonMBean
- The MBean Object nameresources
- Resource
java.lang.Exception
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |