Java Doc for WhereAreYou.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.WhereAreYou

WhereAreYou
public class WhereAreYou (Code)

author:
   Michel-Ange ANTON


Field Summary
final public static  StringCONTEXT_MACRO
    
final public static  intDEPLOYMENT_DATASOURCE
    
final public static  intDEPLOYMENT_EAR
    
final public static  intDEPLOYMENT_JAR
    
final public static  intDEPLOYMENT_JMS
    
final public static  intDEPLOYMENT_MAIL
    
final public static  intDEPLOYMENT_RAR
    
final public static  StringDEPLOYMENT_STRING_DATASOURCE
    
final public static  StringDEPLOYMENT_STRING_EAR
    
final public static  StringDEPLOYMENT_STRING_JAR
    
final public static  StringDEPLOYMENT_STRING_JMS
    
final public static  StringDEPLOYMENT_STRING_MAILFACTORY
    
final public static  StringDEPLOYMENT_STRING_RAR
    
final public static  StringDEPLOYMENT_STRING_WAR
    
final public static  intDEPLOYMENT_WAR
    
final public static  intDOMAIN_DEPLOYMENT_EAR
    
final public static  intDOMAIN_DEPLOYMENT_JAR
    
final public static  intDOMAIN_DEPLOYMENT_RAR
    
final public static  StringDOMAIN_DEPLOYMENT_STRING_EAR
    
final public static  StringDOMAIN_DEPLOYMENT_STRING_JAR
    
final public static  StringDOMAIN_DEPLOYMENT_STRING_RAR
    
final public static  StringDOMAIN_DEPLOYMENT_STRING_WAR
    
final public static  intDOMAIN_DEPLOYMENT_WAR
    
final public static  StringEXCEPTION_JONASSERVER_NOTFOUND
    
final public static  StringEXCEPTION_MBEANSERVER_NOTFOUND
    
final public static  StringEXCEPTION_MBEAN_J2EEDOMAIN_NOTFOUND
    
final public static  StringEXCEPTION_MBEAN_J2EESERVER_NOTFOUND
    
final public static  StringNODE_SEPARATOR
    
final public static  StringSESSION_NAME
    
final public static  StringTAGS_IMAGES_ROOT_KEY
    
final public static  StringTREE_PAGE_REFRESH
    

Constructor Summary
public  WhereAreYou()
    

Method Summary
public  StringgetAdminJonasServerConfDir()
    
public  StringgetAdminJonasServerName()
    
public  StringgetApplicationContextPath()
    
public  intgetApplicationServerPort()
    
public  StringgetCurrentCatalinaDefaultHostName()
    
public  StringgetCurrentCatalinaDomainName()
    
public  StringgetCurrentCatalinaEngineName()
    
public  StringgetCurrentCatalinaServiceName()
    
public  ObjectNamegetCurrentDomain()
     Return the current J2EE domain ObjectName.
public  StringgetCurrentDomainName()
     Return the current J2EE domain name.
public  intgetCurrentJonasDeploymentType()
    
public  ObjectNamegetCurrentJonasServer()
     Return the ObjectName of the MBean associated to the current Jonas server.
public  StringgetCurrentJonasServerName()
     Return the current Jonas server name.
public  StringgetImagesRoot()
    
public  StringgetSelectedNameNode()
     Return the name of the selected node in the tree.
public  TreeControlNodegetSelectedTreeControlNode()
     Return the selected node in the tree.
protected  StringgetServletServerName()
     Return the name of the servlet server.
public  TreeControlgetTreeControl()
    
public  StringgetUrlToRefreshSelectedNode(HttpServletRequest p_Request, HttpServletResponse p_Response)
     Return the URL to refresh the selected node in the tree.
public  voidinitialize(ActionServlet p_Servlet, HttpServletRequest p_Request)
     Initialize the properties in only reading.
public  booleanisCatalinaServer()
    
public  booleanisCurrentJonasServer()
    
public  booleanisJettyServer()
    
public  booleanisTreeToRefresh()
     Return the state of current display of tree.
public  voidrefreshCatalina(HttpServletRequest p_Request)
     Refresh the Catalina server properties.
public  voidrefreshJetty(HttpServletRequest p_Request)
     Refresh the Jetty server properties.
public  voidrefreshJonas(HttpServletRequest p_Request, String serverName)
     Refresh the managed JOnAS server properties.
public  voidrefreshServers(HttpServletRequest p_Request, String serverName)
     Refresh all the servers properties.
public  voidrefreshServers(HttpServletRequest p_Request)
    
protected  voidresetCatalina()
     Reset the Catalina server properties.
protected  voidresetDomain()
     Reset the domain properties.
protected  voidresetJetty()
     Reset the Jetty server properties.
protected  voidresetJonas()
     Reset the JOnAS server properties.
public  voidselectNameNode(String p_Name, boolean p_Expand)
     Select the node in the tree.
public  voidsetCurrentJonasDeploymentType(int currentJonasDeploymentType)
    
public  voidsetTreeControl(TreeControl treeControl)
    
public  voidsetTreeToRefresh(boolean treeToRefresh)
     Change the state of current display of tree.
public  StringtoString()
     Return in a string the contents of the instance for each propertie.

Field Detail
CONTEXT_MACRO
final public static String CONTEXT_MACRO(Code)



DEPLOYMENT_DATASOURCE
final public static int DEPLOYMENT_DATASOURCE(Code)



DEPLOYMENT_EAR
final public static int DEPLOYMENT_EAR(Code)



DEPLOYMENT_JAR
final public static int DEPLOYMENT_JAR(Code)



DEPLOYMENT_JMS
final public static int DEPLOYMENT_JMS(Code)



DEPLOYMENT_MAIL
final public static int DEPLOYMENT_MAIL(Code)



DEPLOYMENT_RAR
final public static int DEPLOYMENT_RAR(Code)



DEPLOYMENT_STRING_DATASOURCE
final public static String DEPLOYMENT_STRING_DATASOURCE(Code)



DEPLOYMENT_STRING_EAR
final public static String DEPLOYMENT_STRING_EAR(Code)



DEPLOYMENT_STRING_JAR
final public static String DEPLOYMENT_STRING_JAR(Code)



DEPLOYMENT_STRING_JMS
final public static String DEPLOYMENT_STRING_JMS(Code)



DEPLOYMENT_STRING_MAILFACTORY
final public static String DEPLOYMENT_STRING_MAILFACTORY(Code)



DEPLOYMENT_STRING_RAR
final public static String DEPLOYMENT_STRING_RAR(Code)



DEPLOYMENT_STRING_WAR
final public static String DEPLOYMENT_STRING_WAR(Code)



DEPLOYMENT_WAR
final public static int DEPLOYMENT_WAR(Code)



DOMAIN_DEPLOYMENT_EAR
final public static int DOMAIN_DEPLOYMENT_EAR(Code)



DOMAIN_DEPLOYMENT_JAR
final public static int DOMAIN_DEPLOYMENT_JAR(Code)



DOMAIN_DEPLOYMENT_RAR
final public static int DOMAIN_DEPLOYMENT_RAR(Code)



DOMAIN_DEPLOYMENT_STRING_EAR
final public static String DOMAIN_DEPLOYMENT_STRING_EAR(Code)



DOMAIN_DEPLOYMENT_STRING_JAR
final public static String DOMAIN_DEPLOYMENT_STRING_JAR(Code)



DOMAIN_DEPLOYMENT_STRING_RAR
final public static String DOMAIN_DEPLOYMENT_STRING_RAR(Code)



DOMAIN_DEPLOYMENT_STRING_WAR
final public static String DOMAIN_DEPLOYMENT_STRING_WAR(Code)



DOMAIN_DEPLOYMENT_WAR
final public static int DOMAIN_DEPLOYMENT_WAR(Code)



EXCEPTION_JONASSERVER_NOTFOUND
final public static String EXCEPTION_JONASSERVER_NOTFOUND(Code)



EXCEPTION_MBEANSERVER_NOTFOUND
final public static String EXCEPTION_MBEANSERVER_NOTFOUND(Code)
Exceptions



EXCEPTION_MBEAN_J2EEDOMAIN_NOTFOUND
final public static String EXCEPTION_MBEAN_J2EEDOMAIN_NOTFOUND(Code)



EXCEPTION_MBEAN_J2EESERVER_NOTFOUND
final public static String EXCEPTION_MBEAN_J2EESERVER_NOTFOUND(Code)



NODE_SEPARATOR
final public static String NODE_SEPARATOR(Code)
Used separator in the ident node in the tree



SESSION_NAME
final public static String SESSION_NAME(Code)
Name of the variable in http session



TAGS_IMAGES_ROOT_KEY
final public static String TAGS_IMAGES_ROOT_KEY(Code)



TREE_PAGE_REFRESH
final public static String TREE_PAGE_REFRESH(Code)




Constructor Detail
WhereAreYou
public WhereAreYou()(Code)




Method Detail
getAdminJonasServerConfDir
public String getAdminJonasServerConfDir()(Code)



getAdminJonasServerName
public String getAdminJonasServerName()(Code)
Returns the adminJonasServerName.



getApplicationContextPath
public String getApplicationContextPath()(Code)



getApplicationServerPort
public int getApplicationServerPort()(Code)



getCurrentCatalinaDefaultHostName
public String getCurrentCatalinaDefaultHostName()(Code)



getCurrentCatalinaDomainName
public String getCurrentCatalinaDomainName()(Code)



getCurrentCatalinaEngineName
public String getCurrentCatalinaEngineName()(Code)



getCurrentCatalinaServiceName
public String getCurrentCatalinaServiceName()(Code)



getCurrentDomain
public ObjectName getCurrentDomain()(Code)
Return the current J2EE domain ObjectName. The ObjectName



getCurrentDomainName
public String getCurrentDomainName()(Code)
Return the current J2EE domain name. The name



getCurrentJonasDeploymentType
public int getCurrentJonasDeploymentType()(Code)



getCurrentJonasServer
public ObjectName getCurrentJonasServer()(Code)
Return the ObjectName of the MBean associated to the current Jonas server. The ObjectName



getCurrentJonasServerName
public String getCurrentJonasServerName()(Code)
Return the current Jonas server name. The name



getImagesRoot
public String getImagesRoot()(Code)



getSelectedNameNode
public String getSelectedNameNode()(Code)
Return the name of the selected node in the tree. The name



getSelectedTreeControlNode
public TreeControlNode getSelectedTreeControlNode()(Code)
Return the selected node in the tree. The selected node



getServletServerName
protected String getServletServerName() throws ManagementException(Code)
Return the name of the servlet server. The name of the servlet server.



getTreeControl
public TreeControl getTreeControl()(Code)



getUrlToRefreshSelectedNode
public String getUrlToRefreshSelectedNode(HttpServletRequest p_Request, HttpServletResponse p_Response)(Code)
Return the URL to refresh the selected node in the tree.
Parameters:
  p_Request - HTTP request
Parameters:
  p_Response - HTTP response The URL



initialize
public void initialize(ActionServlet p_Servlet, HttpServletRequest p_Request) throws JonasAdminException(Code)
Initialize the properties in only reading.
Parameters:
  p_Servlet - The instance of servlet to access to the parameter of the servlet config
Parameters:
  p_Request - The request to access to the HTTP informations
throws:
  JonasAdminException -



isCatalinaServer
public boolean isCatalinaServer()(Code)



isCurrentJonasServer
public boolean isCurrentJonasServer()(Code)



isJettyServer
public boolean isJettyServer()(Code)



isTreeToRefresh
public boolean isTreeToRefresh()(Code)
Return the state of current display of tree. True if the current tree is not correctly displaying



refreshCatalina
public void refreshCatalina(HttpServletRequest p_Request)(Code)
Refresh the Catalina server properties.
Parameters:
  p_Request - The request to access to the HTTP informations



refreshJetty
public void refreshJetty(HttpServletRequest p_Request)(Code)
Refresh the Jetty server properties.
Parameters:
  p_Request - The request to access to the HTTP informations



refreshJonas
public void refreshJonas(HttpServletRequest p_Request, String serverName) throws ManagementException, JonasAdminException(Code)
Refresh the managed JOnAS server properties.
Parameters:
  p_Request - The request to access to the HTTP informations
throws:
  ManagementException - if could not connect to the MBeanServer
throws:
  JonasAdminException -



refreshServers
public void refreshServers(HttpServletRequest p_Request, String serverName) throws ManagementException, JonasAdminException(Code)
Refresh all the servers properties.
Parameters:
  p_Request - The request to access to the HTTP informations
throws:
  ManagementException - if could not connect to the MBeanServer
throws:
  JonasAdminException -



refreshServers
public void refreshServers(HttpServletRequest p_Request)(Code)



resetCatalina
protected void resetCatalina()(Code)
Reset the Catalina server properties.



resetDomain
protected void resetDomain()(Code)
Reset the domain properties.



resetJetty
protected void resetJetty()(Code)
Reset the Jetty server properties.



resetJonas
protected void resetJonas()(Code)
Reset the JOnAS server properties.



selectNameNode
public void selectNameNode(String p_Name, boolean p_Expand)(Code)
Select the node in the tree.
Parameters:
  p_Name - The name of node to select
Parameters:
  p_Expand - Expand parent branch



setCurrentJonasDeploymentType
public void setCurrentJonasDeploymentType(int currentJonasDeploymentType)(Code)



setTreeControl
public void setTreeControl(TreeControl treeControl)(Code)



setTreeToRefresh
public void setTreeToRefresh(boolean treeToRefresh)(Code)
Change the state of current display of tree.
Parameters:
  treeToRefresh - True to refresh



toString
public String toString()(Code)
Return in a string the contents of the instance for each propertie. Debug utility. The string contents



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.