Java Doc for JonasTreeBuilder.java in  » J2EE » JOnAS-4.8.6 » org » objectweb » jonas » webapp » jonasadmin » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » J2EE » JOnAS 4.8.6 » org.objectweb.jonas.webapp.jonasadmin 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.objectweb.jonas.webapp.jonasadmin.JonasTreeBuilder

JonasTreeBuilder
public class JonasTreeBuilder implements TreeBuilder(Code)
Implementation of TreeBuilder that adds the nodes required for administering the Jonas server.
author:
   Michel-Ange ANTON (initial developer)
author:
   Adriana Danes : add nodes for JMS service
author:
   Florent Benoit (changes for struts 1.2.2)




Method Summary
public  voidbuildTree(TreeControl treeControl, ActionServlet servlet, HttpServletRequest request)
     Add the required nodes to the specified treeControl instance.
public  voidgetAllMimePartDSMailFactories(TreeControlNode p_NodeParent, MessageResources p_Resources, HttpServletRequest p_Request)
    
public  voidgetAllSessionMailFactories(TreeControlNode p_NodeParent, MessageResources p_Resources, HttpServletRequest p_Request)
    
public  voidgetAppContainers(TreeControlNode p_NodeParent, MessageResources p_Resources, String p_DomainName, String p_ServerName)
     Append node for all App Containers.
protected  voidgetCatalinaConnector(TreeControlNode p_CatalinaServerNode, MessageResources p_Resources, HttpServletRequest p_Request)
    
public  voidgetCatalinaDetailConnectors(TreeControlNode p_ConnectorNode, MessageResources p_Resources, HttpServletRequest p_Request)
    
protected  voidgetCatalinaProtocols(TreeControlNode p_ServerNode, MessageResources p_Resources, HttpServletRequest p_Request)
    
protected  voidgetClusterDaemonList(TreeControlNode p_ParentNode, MessageResources p_Resources, HttpServletRequest p_Request, String domainName, String serverName)
    
public  voidgetContainers(TreeControlNode p_NodeParent, MessageResources p_Resources, String p_DomainName, String p_ServerName)
     Append node for all Containers.
public  voidgetDatasources(TreeControlNode pNodeParent, MessageResources pResources, String pDomainName, String pServerName)
     Append node for all deployed Datasources.
protected  voidgetDeploymentEar(TreeControlNode p_NodeDeployments, MessageResources p_Resources)
     Append node for Ear deployment.
protected  voidgetDeploymentEjb(TreeControlNode p_NodeDeployments, MessageResources p_Resources)
     Append node for Ejb deployment.
protected  voidgetDeploymentRar(TreeControlNode p_NodeDeployments, MessageResources p_Resources)
     Append node for Rar deployment.
protected  voidgetDeploymentWebAppli(TreeControlNode p_NodeDeployments, MessageResources p_Resources)
     Append node for Web deployment.
protected  voidgetDeployments(TreeControlNode p_ServerNode, MessageResources p_Resources, HttpServletRequest p_Request)
     Append nodes for Deployments services for the specified server.
public  ItemDestinationgetDestinationItem(String joramAdminDestination, String serverName)
    
protected  voidgetDomain(TreeControlNode p_RootNode, MessageResources p_Resources, HttpServletRequest p_Request)
     Append nodes for the current domain.
protected  voidgetDomainDeploy(TreeControlNode p_DomainNode, MessageResources p_Resources, HttpServletRequest p_Request)
     Append nodes for domain management deployment.
protected  voidgetDomainDeploymentEar(TreeControlNode p_NodeDeployments, MessageResources p_Resources)
     Append node for Ear deployment using domain management.
protected  voidgetDomainDeploymentEjb(TreeControlNode p_NodeDeployments, MessageResources p_Resources)
     Append node for Ejb deployment using domain management.
protected  voidgetDomainDeploymentRar(TreeControlNode p_NodeDeployments, MessageResources p_Resources)
     Append node for Rar deployment using domain management.
protected  voidgetDomainDeploymentWebAppli(TreeControlNode p_NodeDeployments, MessageResources p_Resources)
     Append node for Web deployment using domain management.
protected  voidgetEjbs(TreeControlNode p_NodeParent, MessageResources p_Resources, String p_Filename, String p_DomainName, String p_ServerName, String p_moduleName)
     Append node for all Ejbs for a Container.
public  voidgetJ2eeMBeans(TreeControlNode p_ParentNode, MessageResources p_Resources, ArrayList p_List)
     Append nodes for all defined J2EE MBeans.
public  voidgetJmsConnectionFactories(TreeControlNode p_NodeParent, MessageResources p_Resources, String p_ServerName)
    
public  voidgetJmsQueues(TreeControlNode p_NodeParent, MessageResources p_Resources, String p_ServerName)
    
protected  voidgetJmsResource(TreeControlNode p_ServerNode, MessageResources p_Resources)
     Append nodes for Jms Resource for the specified server.
public  voidgetJmsResources(TreeControlNode p_NodeParent, MessageResources p_Resources, String p_ServerName)
    
public  voidgetJmsTopics(TreeControlNode p_NodeParent, MessageResources p_Resources, String p_ServerName)
    
public  voidgetJonasMqConnectorPlatform(TreeControlNode pServerNode, String sServerName, MessageResources pResources, HttpServletRequest p_Request)
    
public  voidgetJonasMqDestinations(TreeControlNode pMQNode, String connectorName, String sServerName, MessageResources pResources, HttpServletRequest p_Request)
    
public  voidgetJoramPlatform(TreeControlNode pDomainNode, String jonasServerName, MessageResources pResources, HttpServletRequest p_Request)
     Append node for JORAM platform management.
public  voidgetJoramResources(TreeControlNode joramServerNode, String jonasServerName, String serverId, MessageResources pResources, HttpServletRequest p_Request)
    
public  voidgetJoramServers(TreeControlNode platformNode, String jonasServerName, ObjectName joramPlatformON, MessageResources pResources, HttpServletRequest p_Request)
    
public  voidgetLoggers(TreeControlNode p_LoggingNode, MessageResources p_Resources, HttpServletRequest p_Request)
     Append nodes for each logger.
protected  voidgetLogging(TreeControlNode p_ServerNode, MessageResources p_Resources, HttpServletRequest p_Request)
     Append nodes for Logging.
protected  voidgetMBeanInfo(TreeControlNode nodeMBean, ObjectName onMBean, MessageResources resources, HttpServletRequest p_Request)
     Append nodes Attributes and Operations for a defined MBean.
public  voidgetMBeans(TreeControlNode domainNode, MessageResources resources, HttpServletRequest p_Request)
     Append nodes for all defined MBeans.
protected  voidgetMailResource(TreeControlNode p_ServerNode, MessageResources p_Resources)
     Append nodes for Mail Resources for the specified server.
protected  voidgetMimePartMailFactories(TreeControlNode p_NodeParent, MessageResources p_Resource, HttpServletRequest p_Request)
    
protected  voidgetMonitoring(TreeControlNode p_DomainNode, MessageResources p_Resources, HttpServletRequest p_Request, String domainName, String serverName)
    
protected  voidgetMonitoringClusterList(TreeControlNode p_ParentNode, MessageResources p_Resources, HttpServletRequest p_Request, String domainName, String serverName)
    
protected  voidgetMonitoringNodeList(TreeControlNode p_ParentNode, MessageResources p_Resources, HttpServletRequest p_Request, String domainName, String serverName)
    
public  voidgetOwnerMBeans(TreeControlNode p_ParentNode, MessageResources p_Resources, ArrayList p_List)
     Append nodes for all defined Owner MBeans.
protected  voidgetProtocols(TreeControlNode p_ServerNode, MessageResources p_Resources, HttpServletRequest p_Request)
    
public  voidgetResourceAdapters(TreeControlNode p_NodeParent, MessageResources p_Resources, String p_DomainName, String p_ServerName)
     Append node for all Resource Adapters.
protected  voidgetResourceDatabase(TreeControlNode p_ServerNode, MessageResources p_Resources)
     Append nodes for Database Resource for the specified server.
protected  voidgetResources(TreeControlNode p_ServerNode, MessageResources p_Resources, HttpServletRequest p_Request)
     Append nodes for Resources services for the specified server.
protected  voidgetSecurity(TreeControlNode p_ServerNode, MessageResources p_Resources, HttpServletRequest p_Request)
     Append nodes for Security for the specified server.
protected  voidgetSecurityCatalinaRealm(TreeControlNode p_SecurityNode, MessageResources p_Resources, HttpServletRequest p_Request)
    
public  voidgetSecurityFactories(TreeControlNode p_SecurityNode, MessageResources p_Resources, HttpServletRequest p_Request)
     Append nodes for Security factories for the specified server.
protected  voidgetSecurityMemoryFactory(TreeControlNode p_SecurityMemoryNode, MessageResources p_Resources, String p_ResourceFactory)
     Append nodes for Memory Security Factory for the specified server.
protected  voidgetServer(TreeControlNode p_DomainNode, MessageResources p_Resources, HttpServletRequest p_Request, String p_DomainName, String p_ServerName)
     Append nodes for a defined Jonas server.
protected  voidgetServerMonitoring(TreeControlNode p_ServerNode, MessageResources p_Resources)
     Append nodes for Monitoring.
protected  voidgetServiceApp(TreeControlNode p_NodeServices, MessageResources p_Resources, String p_DomainName, String p_ServerName)
     Append node for Ear service for the JOnAS services.
protected  voidgetServiceDatabase(TreeControlNode pNodeServices, MessageResources pResources, String pDomainName, String pServerName)
     Append node for Database service for the JOnAS services.
protected  voidgetServiceDiscovery(TreeControlNode p_NodeServices, MessageResources p_Resources, String p_DomainName, String p_ServerName)
     Append node for discovery service for the JOnAS services.
protected  voidgetServiceEjbContainer(TreeControlNode p_NodeServices, MessageResources p_Resources, String p_DomainName, String p_ServerName)
     Append node for EJBContainer service for the JOnAS services.
protected  voidgetServiceJms(TreeControlNode p_NodeServices, MessageResources p_Resources, String p_DomainName, String p_ServerName)
     Append node for Jms service for the JOnAS services.
protected  voidgetServiceMail(TreeControlNode p_NodeServices, MessageResources p_Resources, HttpServletRequest p_Request, String p_DomainName, String p_ServerName)
     Append node for Mail service for the JOnAS services.
protected  voidgetServiceResourceAdapter(TreeControlNode p_NodeServices, MessageResources p_Resources, String p_DomainName, String p_ServerName)
     Append node for Resource service for the JOnAS services.
protected  voidgetServiceSecurity(TreeControlNode p_NodeServices, MessageResources p_Resources, String p_DomainName, String p_ServerName)
     Append node for Security service for the JOnAS services.
protected  voidgetServiceTransaction(TreeControlNode p_NodeServices, MessageResources p_Resources, String p_DomainName, String p_ServerName)
     Append node for Transaction service for the JOnAS services.
protected  voidgetServiceWeb(TreeControlNode pNodeServices, MessageResources pResources, HttpServletRequest pRequest, String pDomainName, String pServerName)
     Append node for Web service for the JOnAS services.
public  voidgetServiceWebService(TreeControlNode p_NodeServices, MessageResources p_Resources, HttpServletRequest request, String p_DomainName, String p_ServerName)
     Append node for WebService (ws) service for the JOnAS services.
protected  voidgetServices(TreeControlNode p_ServerNode, MessageResources p_Resources, HttpServletRequest p_Request, String p_DomainName, String p_ServerName)
     Append nodes for all defined services for the specified server.
protected  voidgetSessionMailFactories(TreeControlNode p_NodeParent, MessageResources p_Resources, HttpServletRequest p_Request)
    
public  voidgetUnknownMBeans(TreeControlNode p_ParentNode, MessageResources p_Resources, ArrayList p_List)
     Append nodes for all defined Unknown MBeans.
public  voidgetWebContainers(TreeControlNode p_NodeParent, MessageResources p_Resources, HttpServletRequest p_Request)
     Append node for all Web Containers.
public  voidgetWebServiceDetails(TreeControlNode p_webServicesNode, MessageResources p_Resources, HttpServletRequest p_Request)
     Append Web Service names for web services node in tree.
protected  booleanisMaster(HttpServletRequest p_Request, String serverName)
     Returns if the current server (with discovery running) is a master server.



Method Detail
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



getAllMimePartDSMailFactories
public void getAllMimePartDSMailFactories(TreeControlNode p_NodeParent, MessageResources p_Resources, HttpServletRequest p_Request) throws Exception(Code)



getAllSessionMailFactories
public void getAllSessionMailFactories(TreeControlNode p_NodeParent, MessageResources p_Resources, HttpServletRequest p_Request) throws Exception(Code)



getAppContainers
public void getAppContainers(TreeControlNode p_NodeParent, MessageResources p_Resources, String p_DomainName, String p_ServerName) throws Exception(Code)
Append node for all App Containers.
Parameters:
  p_NodeParent - Server node for the tree control
Parameters:
  p_Resources - The MessageResources for our localized messages
exception:
  Exception - if an exception occurs building the tree



getCatalinaConnector
protected void getCatalinaConnector(TreeControlNode p_CatalinaServerNode, MessageResources p_Resources, HttpServletRequest p_Request) throws Exception(Code)
Append node for the Connector catalina server
Parameters:
  p_CatalinaServerNode - Catalina Server node for the tree control
Parameters:
  p_Resources - The MessageResources for our localized messages
Parameters:
  p_Request - The servlet request we are processing
exception:
  Exception - if an exception occurs building the tree



getCatalinaDetailConnectors
public void getCatalinaDetailConnectors(TreeControlNode p_ConnectorNode, MessageResources p_Resources, HttpServletRequest p_Request) throws Exception(Code)
Append nodes for all the Connectors catalina server
Parameters:
  p_ConnectorNode - Connector node for the tree control
Parameters:
  p_Resources - The MessageResources for our localized messages
Parameters:
  p_Request - The servlet request we are processing
exception:
  Exception - if an exception occurs building the tree



getCatalinaProtocols
protected void getCatalinaProtocols(TreeControlNode p_ServerNode, MessageResources p_Resources, HttpServletRequest p_Request) throws Exception(Code)
Append nodes for the Catalina server
Parameters:
  p_ServerNode - Server node for the tree control
Parameters:
  p_Resources - The MessageResources for our localized messages
Parameters:
  p_Request - The servlet request we are processing
exception:
  Exception - if an exception occurs building the tree



getClusterDaemonList
protected void getClusterDaemonList(TreeControlNode p_ParentNode, MessageResources p_Resources, HttpServletRequest p_Request, String domainName, String serverName) throws Exception(Code)
Append nodes for cluster daemons



getContainers
public void getContainers(TreeControlNode p_NodeParent, MessageResources p_Resources, String p_DomainName, String p_ServerName) throws Exception(Code)
Append node for all Containers.
Parameters:
  p_NodeParent - Server node for the tree control
Parameters:
  p_Resources - The MessageResources for our localized messages
exception:
  Exception - if an exception occurs building the tree



getDatasources
public void getDatasources(TreeControlNode pNodeParent, MessageResources pResources, String pDomainName, String pServerName) throws Exception(Code)
Append node for all deployed Datasources.
Parameters:
  pNodeParent - Server node for the tree control
Parameters:
  pResources - The MessageResources for our localized messages
Parameters:
  pDomainName - The name of the current management domain
Parameters:
  pServerName - The name of the currently managed JOnAS server
exception:
  Exception - if an exception occurs building the tree



getDeploymentEar
protected void getDeploymentEar(TreeControlNode p_NodeDeployments, MessageResources p_Resources) throws Exception(Code)
Append node for Ear deployment.
Parameters:
  p_NodeDeployments - Deployment node for the tree control
Parameters:
  p_Resources - The MessageResources for our localized messages
exception:
  Exception - if an exception occurs building the tree



getDeploymentEjb
protected void getDeploymentEjb(TreeControlNode p_NodeDeployments, MessageResources p_Resources) throws Exception(Code)
Append node for Ejb deployment.
Parameters:
  p_NodeDeployments - Deployment node for the tree control
Parameters:
  p_Resources - The MessageResources for our localized messages
exception:
  Exception - if an exception occurs building the tree



getDeploymentRar
protected void getDeploymentRar(TreeControlNode p_NodeDeployments, MessageResources p_Resources) throws Exception(Code)
Append node for Rar deployment.
Parameters:
  p_NodeDeployments - Deployment node for the tree control
Parameters:
  p_Resources - The MessageResources for our localized messages
exception:
  Exception - if an exception occurs building the tree



getDeploymentWebAppli
protected void getDeploymentWebAppli(TreeControlNode p_NodeDeployments, MessageResources p_Resources) throws Exception(Code)
Append node for Web deployment.
Parameters:
  p_NodeDeployments - Deployment node for the tree control
Parameters:
  p_Resources - The MessageResources for our localized messages
exception:
  Exception - if an exception occurs building the tree



getDeployments
protected void getDeployments(TreeControlNode p_ServerNode, MessageResources p_Resources, HttpServletRequest p_Request) throws Exception(Code)
Append nodes for Deployments services for the specified server.
Parameters:
  p_ServerNode - Server node for the tree control
Parameters:
  p_Resources - The MessageResources for our localized messages
exception:
  Exception - if an exception occurs building the tree



getDestinationItem
public ItemDestination getDestinationItem(String joramAdminDestination, String serverName) throws MalformedObjectNameException(Code)
Create a ItemDestination object from a String structured as follows: type=queue/topic, name=destName, id=#x.y.z
Parameters:
  joramAdminDestination - String containing destination description
Parameters:
  serverName - the name of the JOnAS server to which the current JORAM server is connected ItemDestination containing name, type, id and ObjectName of the MBean associated to the corresponding destination
throws:
  MalformedObjectNameException - could not construct destination ObjectName



getDomain
protected void getDomain(TreeControlNode p_RootNode, MessageResources p_Resources, HttpServletRequest p_Request) throws Exception(Code)
Append nodes for the current domain.
Parameters:
  p_RootNode - Root node for the tree control
Parameters:
  p_Resources - The MessageResources for our localized messages
Parameters:
  p_Request - The servlet request we are processing
exception:
  Exception - if an exception occurs building the tree



getDomainDeploy
protected void getDomainDeploy(TreeControlNode p_DomainNode, MessageResources p_Resources, HttpServletRequest p_Request) throws Exception(Code)
Append nodes for domain management deployment.
Parameters:
  p_DomainNode - Domain node for the tree control
Parameters:
  p_Resources - The MessageResources for our localized messages
Parameters:
  p_Request - The servlet request we are processing
Parameters:
  p_DomainName - The name of the domain.
throws:
  Exception - if an exception occurs building the tree



getDomainDeploymentEar
protected void getDomainDeploymentEar(TreeControlNode p_NodeDeployments, MessageResources p_Resources) throws Exception(Code)
Append node for Ear deployment using domain management.
Parameters:
  p_NodeDeployments - Deployment node for the tree control
Parameters:
  p_Resources - The MessageResources for our localized messages
exception:
  Exception - if an exception occurs building the tree



getDomainDeploymentEjb
protected void getDomainDeploymentEjb(TreeControlNode p_NodeDeployments, MessageResources p_Resources) throws Exception(Code)
Append node for Ejb deployment using domain management.
Parameters:
  p_NodeDeployments - Deployment node for the tree control
Parameters:
  p_Resources - The MessageResources for our localized messages
exception:
  Exception - if an exception occurs building the tree



getDomainDeploymentRar
protected void getDomainDeploymentRar(TreeControlNode p_NodeDeployments, MessageResources p_Resources) throws Exception(Code)
Append node for Rar deployment using domain management.
Parameters:
  p_NodeDeployments - Deployment node for the tree control
Parameters:
  p_Resources - The MessageResources for our localized messages
exception:
  Exception - if an exception occurs building the tree



getDomainDeploymentWebAppli
protected void getDomainDeploymentWebAppli(TreeControlNode p_NodeDeployments, MessageResources p_Resources) throws Exception(Code)
Append node for Web deployment using domain management.
Parameters:
  p_NodeDeployments - Deployment node for the tree control
Parameters:
  p_Resources - The MessageResources for our localized messages
exception:
  Exception - if an exception occurs building the tree



getEjbs
protected void getEjbs(TreeControlNode p_NodeParent, MessageResources p_Resources, String p_Filename, String p_DomainName, String p_ServerName, String p_moduleName) throws Exception(Code)
Append node for all Ejbs for a Container.
Parameters:
  p_NodeParent - Server node for the tree control
Parameters:
  p_Resources - The MessageResources for our localized messages
Parameters:
  p_Filename - Filename of container
exception:
  Exception - if an exception occurs building the tree



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



getJmsConnectionFactories
public void getJmsConnectionFactories(TreeControlNode p_NodeParent, MessageResources p_Resources, String p_ServerName) throws Exception(Code)
Append subnodes for ConnectionFactory resources
Parameters:
  p_NodeParent - CFs subnode
Parameters:
  p_Resources - The MessageResources for our localized messages
exception:
  Exception - if an exception occurs building the tree



getJmsQueues
public void getJmsQueues(TreeControlNode p_NodeParent, MessageResources p_Resources, String p_ServerName) throws Exception(Code)
Append subnodes node for Queue destinations
Parameters:
  p_NodeParent - Queue subnode
Parameters:
  p_Resources - The MessageResources for our localized messages
exception:
  Exception - if an exception occurs building the tree



getJmsResource
protected void getJmsResource(TreeControlNode p_ServerNode, MessageResources p_Resources) throws Exception(Code)
Append nodes for Jms Resource for the specified server.
Parameters:
  p_ServerNode - Server node for the tree control
Parameters:
  p_Resources - The MessageResources for our localized messages
exception:
  Exception - if an exception occurs building the tree



getJmsResources
public void getJmsResources(TreeControlNode p_NodeParent, MessageResources p_Resources, String p_ServerName) throws Exception(Code)
Append 3 subnodes for the JMS resource types + subnodes for all the ressources
Parameters:
  p_NodeParent - JMS service node
Parameters:
  p_Resources - The MessageResources for our localized messages
exception:
  Exception - if an exception occurs building the tree



getJmsTopics
public void getJmsTopics(TreeControlNode p_NodeParent, MessageResources p_Resources, String p_ServerName) throws Exception(Code)
Append subnodes node for Topic destinations
Parameters:
  p_NodeParent - Topic subnode
Parameters:
  p_Resources - The MessageResources for our localized messages
exception:
  Exception - if an exception occurs building the tree



getJonasMqConnectorPlatform
public void getJonasMqConnectorPlatform(TreeControlNode pServerNode, String sServerName, MessageResources pResources, HttpServletRequest p_Request) throws Exception(Code)



getJonasMqDestinations
public void getJonasMqDestinations(TreeControlNode pMQNode, String connectorName, String sServerName, MessageResources pResources, HttpServletRequest p_Request) throws Exception(Code)
Build the destination nodes



getJoramPlatform
public void getJoramPlatform(TreeControlNode pDomainNode, String jonasServerName, MessageResources pResources, HttpServletRequest p_Request) throws Exception(Code)
Append node for JORAM platform management.
Parameters:
  pDomainNode - Domain node for the tree control
Parameters:
  jonasServerName - the name of the JOnAS server to which the current JORAM server is connected
Parameters:
  pResources - The MessageResources for our localized messages
Parameters:
  p_Request - The servlet request we are processing
exception:
  Exception - If an exception occurs when building the tree.



getJoramResources
public void getJoramResources(TreeControlNode joramServerNode, String jonasServerName, String serverId, MessageResources pResources, HttpServletRequest p_Request) throws Exception(Code)
Append nodes for Joram DEstinations created in a Joram server
Parameters:
  joramServerNode - Joram server node
Parameters:
  jonasServerName - the name of the JOnAS server to which the current JORAM server is connected
Parameters:
  serverId - Joram server id
Parameters:
  pResources - The MessageResources for our localized messages
Parameters:
  p_Request - The servlet request we are processing
throws:
  Exception - If an exception occurs when building the tree.



getJoramServers
public void getJoramServers(TreeControlNode platformNode, String jonasServerName, ObjectName joramPlatformON, MessageResources pResources, HttpServletRequest p_Request) throws Exception(Code)
Append nodes for Joram server defined in tbe platform
Parameters:
  platformNode - Joram platform node
Parameters:
  jonasServerName - the name of the JOnAS server to which the current JORAM server is connected
Parameters:
  joramPlatformON - ObjectName of Joram Platform MBean
Parameters:
  pResources - The MessageResources for our localized messages
Parameters:
  p_Request - The servlet request we are processing
throws:
  Exception - If an exception occurs when building the tree.



getLoggers
public void getLoggers(TreeControlNode p_LoggingNode, MessageResources p_Resources, HttpServletRequest p_Request) throws Exception(Code)
Append nodes for each logger.
Parameters:
  p_LoggingNode - Server node for the tree control
Parameters:
  p_Resources - The MessageResources for our localized messages
Parameters:
  p_Request - The servlet request we are processing
exception:
  Exception - if an exception occurs building the tree



getLogging
protected void getLogging(TreeControlNode p_ServerNode, MessageResources p_Resources, HttpServletRequest p_Request) throws Exception(Code)
Append nodes for Logging.
Parameters:
  p_ServerNode - Server node for the tree control
Parameters:
  p_Resources - The MessageResources for our localized messages
Parameters:
  p_Request - The servlet request we are processing
exception:
  Exception - if an exception occurs building the tree



getMBeanInfo
protected void getMBeanInfo(TreeControlNode nodeMBean, ObjectName onMBean, MessageResources resources, HttpServletRequest p_Request) 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 domainNode, MessageResources resources, HttpServletRequest p_Request) throws Exception(Code)
Append nodes for all defined MBeans.
Parameters:
  domainNode - Root node for the tree control
Parameters:
  resources - The MessageResources for our localized messages
exception:
  Exception - if an exception occurs building the tree



getMailResource
protected void getMailResource(TreeControlNode p_ServerNode, MessageResources p_Resources) throws Exception(Code)
Append nodes for Mail Resources for the specified server.
Parameters:
  p_ServerNode - Server node for the tree control
Parameters:
  p_Resources - The MessageResources for our localized messages
exception:
  Exception - if an exception occurs building the tree



getMimePartMailFactories
protected void getMimePartMailFactories(TreeControlNode p_NodeParent, MessageResources p_Resource, HttpServletRequest p_Request) throws Exception(Code)



getMonitoring
protected void getMonitoring(TreeControlNode p_DomainNode, MessageResources p_Resources, HttpServletRequest p_Request, String domainName, String serverName) throws Exception(Code)
Append nodes for monitoring



getMonitoringClusterList
protected void getMonitoringClusterList(TreeControlNode p_ParentNode, MessageResources p_Resources, HttpServletRequest p_Request, String domainName, String serverName) throws Exception(Code)
Append nodes for clusters monitoring



getMonitoringNodeList
protected void getMonitoringNodeList(TreeControlNode p_ParentNode, MessageResources p_Resources, HttpServletRequest p_Request, String domainName, String serverName) throws Exception(Code)
Append nodes for servers monitoring



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



getProtocols
protected void getProtocols(TreeControlNode p_ServerNode, MessageResources p_Resources, HttpServletRequest p_Request) throws Exception(Code)
Append nodes for the Servlet server
Parameters:
  p_ServerNode - Server node for the tree control
Parameters:
  p_Resources - The MessageResources for our localized messages
Parameters:
  p_Request - The servlet request we are processing
exception:
  Exception - if an exception occurs building the tree



getResourceAdapters
public void getResourceAdapters(TreeControlNode p_NodeParent, MessageResources p_Resources, String p_DomainName, String p_ServerName) throws Exception(Code)
Append node for all Resource Adapters.
Parameters:
  p_NodeParent - Server node for the tree control
Parameters:
  p_Resources - The MessageResources for our localized messages
Parameters:
  pDomainName - The name of the current management domain
Parameters:
  pServerName - The name of the currently managed JOnAS server
exception:
  Exception - if an exception occurs building the tree



getResourceDatabase
protected void getResourceDatabase(TreeControlNode p_ServerNode, MessageResources p_Resources) throws Exception(Code)
Append nodes for Database Resource for the specified server.
Parameters:
  p_ServerNode - Server node for the tree control
Parameters:
  p_Resources - The MessageResources for our localized messages
exception:
  Exception - if an exception occurs building the tree



getResources
protected void getResources(TreeControlNode p_ServerNode, MessageResources p_Resources, HttpServletRequest p_Request) throws Exception(Code)
Append nodes for Resources services for the specified server.
Parameters:
  p_ServerNode - Server node for the tree control
Parameters:
  p_Resources - The MessageResources for our localized messages
exception:
  Exception - if an exception occurs building the tree



getSecurity
protected void getSecurity(TreeControlNode p_ServerNode, MessageResources p_Resources, HttpServletRequest p_Request) throws Exception(Code)
Append nodes for Security for the specified server.
Parameters:
  p_ServerNode - Server node for the tree control
Parameters:
  p_Resources - The MessageResources for our localized messages
Parameters:
  p_Request - The servlet request we are processing
exception:
  Exception - if an exception occurs building the tree



getSecurityCatalinaRealm
protected void getSecurityCatalinaRealm(TreeControlNode p_SecurityNode, MessageResources p_Resources, HttpServletRequest p_Request) throws Exception(Code)
Append node for the Security catalina realm
Parameters:
  p_SecurityNode - Catalina Server node for the tree control
Parameters:
  p_Resources - The MessageResources for our localized messages
Parameters:
  p_Request - The servlet request we are processing
exception:
  Exception - if an exception occurs building the tree



getSecurityFactories
public void getSecurityFactories(TreeControlNode p_SecurityNode, MessageResources p_Resources, HttpServletRequest p_Request) throws Exception(Code)
Append nodes for Security factories for the specified server.
Parameters:
  p_SecurityNode - Security node for the tree control
Parameters:
  p_Resources - The MessageResources for our localized messages
exception:
  Exception - if an exception occurs building the tree



getSecurityMemoryFactory
protected void getSecurityMemoryFactory(TreeControlNode p_SecurityMemoryNode, MessageResources p_Resources, String p_ResourceFactory) throws Exception(Code)
Append nodes for Memory Security Factory for the specified server.
Parameters:
  p_SecurityMemoryNode - Server node for the tree control
Parameters:
  p_Resources - The MessageResources for our localized messages
Parameters:
  p_ResourceFactory - The name of resource
exception:
  Exception - if an exception occurs building the tree



getServer
protected void getServer(TreeControlNode p_DomainNode, MessageResources p_Resources, HttpServletRequest p_Request, String p_DomainName, String p_ServerName) throws Exception(Code)
Append nodes for a defined Jonas server.
Parameters:
  p_DomainNode - Domain node for the tree control
Parameters:
  p_Resources - The MessageResources for our localized messages
Parameters:
  p_Request - The servlet request we are processing
exception:
  Exception - if an exception occurs building the tree



getServerMonitoring
protected void getServerMonitoring(TreeControlNode p_ServerNode, MessageResources p_Resources) throws Exception(Code)
Append nodes for Monitoring.
Parameters:
  p_ServerNode - Server node for the tree control
Parameters:
  p_Resources - The MessageResources for our localized messagesmessages
exception:
  Exception - if an exception occurs building the tree



getServiceApp
protected void getServiceApp(TreeControlNode p_NodeServices, MessageResources p_Resources, String p_DomainName, String p_ServerName) throws Exception(Code)
Append node for Ear service for the JOnAS services.
Parameters:
  p_NodeServices - Services node for the tree control
Parameters:
  p_Resources - The MessageResources for our localized messages
exception:
  Exception - if an exception occurs building the tree



getServiceDatabase
protected void getServiceDatabase(TreeControlNode pNodeServices, MessageResources pResources, String pDomainName, String pServerName) throws Exception(Code)
Append node for Database service for the JOnAS services.
Parameters:
  pNodeServices - Services node for the tree control
Parameters:
  pResources - The MessageResources for our localized messages
Parameters:
  pDomainName - The name of the current management domain
Parameters:
  pServerName - The name of the currently managed JOnAS server
exception:
  Exception - if an exception occurs building the tree



getServiceDiscovery
protected void getServiceDiscovery(TreeControlNode p_NodeServices, MessageResources p_Resources, String p_DomainName, String p_ServerName) throws Exception(Code)
Append node for discovery service for the JOnAS services.
Parameters:
  p_NodeServices - Services node for the tree control
Parameters:
  p_Resources - The MessageResources for our localized messagesmessages
exception:
  Exception - if an exception occurs building the tree



getServiceEjbContainer
protected void getServiceEjbContainer(TreeControlNode p_NodeServices, MessageResources p_Resources, String p_DomainName, String p_ServerName) throws Exception(Code)
Append node for EJBContainer service for the JOnAS services.
Parameters:
  p_NodeServices - Services node for the tree control
Parameters:
  p_Resources - The MessageResources for our localized messagesmessages
exception:
  Exception - if an exception occurs building the tree



getServiceJms
protected void getServiceJms(TreeControlNode p_NodeServices, MessageResources p_Resources, String p_DomainName, String p_ServerName) throws Exception(Code)
Append node for Jms service for the JOnAS services.
Parameters:
  p_NodeServices - Services node for the tree control
Parameters:
  p_Resources - The MessageResources for our localized messages
exception:
  Exception - if an exception occurs building the tree



getServiceMail
protected void getServiceMail(TreeControlNode p_NodeServices, MessageResources p_Resources, HttpServletRequest p_Request, String p_DomainName, String p_ServerName) throws Exception(Code)
Append node for Mail service for the JOnAS services.
Parameters:
  p_NodeServices - Services node for the tree control
Parameters:
  p_Resources - The MessageResources for our localized messagesmessages
exception:
  Exception - if an exception occurs building the tree



getServiceResourceAdapter
protected void getServiceResourceAdapter(TreeControlNode p_NodeServices, MessageResources p_Resources, String p_DomainName, String p_ServerName) throws Exception(Code)
Append node for Resource service for the JOnAS services.
Parameters:
  p_NodeServices - Services node for the tree control
Parameters:
  p_Resources - The MessageResources for our localized messages
exception:
  Exception - if an exception occurs building the tree



getServiceSecurity
protected void getServiceSecurity(TreeControlNode p_NodeServices, MessageResources p_Resources, String p_DomainName, String p_ServerName) throws Exception(Code)
Append node for Security service for the JOnAS services.
Parameters:
  p_NodeServices - Services node for the tree control
Parameters:
  p_Resources - The MessageResources for our localized messagesmessages
exception:
  Exception - if an exception occurs building the tree



getServiceTransaction
protected void getServiceTransaction(TreeControlNode p_NodeServices, MessageResources p_Resources, String p_DomainName, String p_ServerName) throws Exception(Code)
Append node for Transaction service for the JOnAS services.
Parameters:
  p_NodeServices - Services node for the tree control
Parameters:
  p_Resources - The MessageResources for our localized messagesmessages
exception:
  Exception - if an exception occurs building the tree



getServiceWeb
protected void getServiceWeb(TreeControlNode pNodeServices, MessageResources pResources, HttpServletRequest pRequest, String pDomainName, String pServerName) throws Exception(Code)
Append node for Web service for the JOnAS services.
Parameters:
  pNodeServices - Services node for the tree control
Parameters:
  pResources - The MessageResources for our localized messages
Parameters:
  pRequest - The servlet request we are processing
Parameters:
  pDomainName - The name of the current management domain
Parameters:
  pServerName - The name of the currently managed JOnAS server
exception:
  Exception - if an exception occurs building the tree



getServiceWebService
public void getServiceWebService(TreeControlNode p_NodeServices, MessageResources p_Resources, HttpServletRequest request, String p_DomainName, String p_ServerName) throws Exception(Code)
Append node for WebService (ws) service for the JOnAS services.
Parameters:
  p_NodeServices - Services node for the tree control
Parameters:
  p_Resources - The MessageResources for our localized messages
Parameters:
  request - The HTTP request object currently in use.
Parameters:
  p_DomainName - The domain name for the instance
Parameters:
  p_ServerName - The server name for the instance being monitored
exception:
  Exception - if an exception occurs building the tree



getServices
protected void getServices(TreeControlNode p_ServerNode, MessageResources p_Resources, HttpServletRequest p_Request, String p_DomainName, String p_ServerName) throws Exception(Code)
Append nodes for all defined services for the specified server.
Parameters:
  p_ServerNode - Server node for the tree control
Parameters:
  p_Resources - The MessageResources for our localized messages
Parameters:
  p_Request - The servlet request we are processing
exception:
  Exception - if an exception occurs building the tree



getSessionMailFactories
protected void getSessionMailFactories(TreeControlNode p_NodeParent, MessageResources p_Resources, HttpServletRequest p_Request) throws Exception(Code)



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



getWebContainers
public void getWebContainers(TreeControlNode p_NodeParent, MessageResources p_Resources, HttpServletRequest p_Request) throws Exception(Code)
Append node for all Web Containers.
Parameters:
  p_NodeParent - Server node for the tree control
Parameters:
  p_Resources - The MessageResources for our localized messages
Parameters:
  p_Request - The servlet request we are processing
exception:
  Exception - if an exception occurs building the tree



getWebServiceDetails
public void getWebServiceDetails(TreeControlNode p_webServicesNode, MessageResources p_Resources, HttpServletRequest p_Request) throws Exception(Code)
Append Web Service names for web services node in tree.
Parameters:
  p_WebServicesNode - Web Services node for the tree control
Parameters:
  p_Resources - The MessageResources for our localized messages
Parameters:
  p_Request - The servlet request we are processing
exception:
  Exception - if an exception occurs building the tree



isMaster
protected boolean isMaster(HttpServletRequest p_Request, String serverName)(Code)
Returns if the current server (with discovery running) is a master server. if the current server is a master server.



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.