|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.ow2.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,
HttpServletRequest request)
Add the required nodes to the specified treeControl
instance. |
void |
getJ2eeMBeans(TreeControlNode p_ParentNode,
org.apache.struts.util.MessageResources p_Resources,
ArrayList p_List)
Append nodes for all defined J2EE MBeans. |
protected void |
getMBeanInfo(TreeControlNode nodeMBean,
ObjectName onMBean,
org.apache.struts.util.MessageResources resources,
String serverName)
Append nodes Attributes and Operations for a defined MBean. |
void |
getMBeans(TreeControlNode rootNode,
org.apache.struts.util.MessageResources resources,
HttpServletRequest request)
Append nodes for all defined MBeans. |
void |
getOwnerMBeans(TreeControlNode p_ParentNode,
org.apache.struts.util.MessageResources p_Resources,
ArrayList p_List)
Append nodes for all defined Owner MBeans. |
void |
getUnknownMBeans(TreeControlNode p_ParentNode,
org.apache.struts.util.MessageResources p_Resources,
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, 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, HttpServletRequest request) throws Exception
rootNode
- Root node for the tree controlresources
- The MessageResources for our localized messages
Exception
- if an exception occurs building the treepublic void getOwnerMBeans(TreeControlNode p_ParentNode, org.apache.struts.util.MessageResources p_Resources, ArrayList p_List) throws Exception
p_ParentNode
- Parent node for the tree controlp_Resources
- The MessageResources for our localized messagesp_List
- The list of Mbeans
Exception
- if an exception occurs building the treepublic void getJ2eeMBeans(TreeControlNode p_ParentNode, org.apache.struts.util.MessageResources p_Resources, ArrayList p_List) throws Exception
p_ParentNode
- Parent node for the tree controlp_Resources
- The MessageResources for our localized messagesp_List
- The list of Mbeans
Exception
- if an exception occurs building the treepublic void getUnknownMBeans(TreeControlNode p_ParentNode, org.apache.struts.util.MessageResources p_Resources, ArrayList p_List) throws Exception
p_ParentNode
- Parent node for the tree controlp_Resources
- The MessageResources for our localized messagesp_List
- The list of Mbeans
Exception
- if an exception occurs building the treeprotected void getMBeanInfo(TreeControlNode nodeMBean, ObjectName onMBean, org.apache.struts.util.MessageResources resources, String serverName) throws Exception
nodeMBean
- The MBean nodeonMBean
- The MBean Object nameresources
- Resource
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |