|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.ow2.jonas.lib.management.extensions.base.AdminHelper org.ow2.jonas.webapp.jonasadmin.WhereAreYou
public class WhereAreYou
Field Summary | |
---|---|
static String |
CONTEXT_MACRO
|
static String |
EXCEPTION_JONASSERVER_NOTFOUND
|
static String |
J2EE_APPLICATION_KEY
Node name separator. |
static String |
NODE_NAME_SEPARATOR
Node name separator. |
static String |
NODE_SEPARATOR
Used separator in the ident node in the tree |
static String |
SESSION_NAME
Name of the variable in http session |
static String |
TAGS_IMAGES_ROOT_KEY
|
static String |
TREE_PAGE_REFRESH
|
Constructor Summary | |
---|---|
WhereAreYou()
|
Method Summary | |
---|---|
String |
getImagesRoot()
|
String |
getSelectedNameNode()
Return the name of the selected node in the tree. |
TreeControlNode |
getSelectedTreeControlNode()
Return the selected node in the tree. |
TreeControl |
getTreeControl()
|
String |
getUrlToRefreshSelectedNode(HttpServletRequest p_Request,
HttpServletResponse p_Response)
Return the URL to refresh the selected node in the tree. |
void |
initialize(org.apache.struts.action.ActionServlet p_Servlet,
HttpServletRequest p_Request)
Initialize the properties in only reading. |
boolean |
isTreeToRefresh()
Return the state of current display of tree. |
void |
refreshCatalina(HttpServletRequest p_Request,
String domainName)
Refresh the Catalina server properties. |
void |
refreshJetty(HttpServletRequest p_Request,
String domainName)
Refresh the Jetty server properties. |
void |
refreshJonas(HttpServletRequest p_Request,
String serverName)
Refresh the managed JOnAS server properties. |
void |
refreshServers(HttpServletRequest p_Request)
|
void |
refreshServers(HttpServletRequest p_Request,
String domainName,
String serverName)
Refresh all the servers properties. |
void |
selectNameNode(String p_Name,
boolean p_Expand)
Select the node in the tree. |
void |
setTreeControl(TreeControl treeControl)
|
void |
setTreeToRefresh(boolean treeToRefresh)
Change the state of current display of tree. |
String |
toString()
Return in a string the contents of the instance for each propertie. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final String SESSION_NAME
public static final String TAGS_IMAGES_ROOT_KEY
public static final String CONTEXT_MACRO
public static final String TREE_PAGE_REFRESH
public static final String EXCEPTION_JONASSERVER_NOTFOUND
public static final String NODE_SEPARATOR
public static final String NODE_NAME_SEPARATOR
public static final String J2EE_APPLICATION_KEY
Constructor Detail |
---|
public WhereAreYou()
Method Detail |
---|
public void initialize(org.apache.struts.action.ActionServlet p_Servlet, HttpServletRequest p_Request) throws JonasAdminException
p_Servlet
- The instance of servlet to access to the parameter of the servlet configp_Request
- The request to access to the HTTP informations
JonasAdminException
public String getSelectedNameNode()
public String getUrlToRefreshSelectedNode(HttpServletRequest p_Request, HttpServletResponse p_Response)
p_Request
- HTTP requestp_Response
- HTTP response
public void selectNameNode(String p_Name, boolean p_Expand)
p_Name
- The name of node to selectp_Expand
- Expand parent branchpublic TreeControlNode getSelectedTreeControlNode()
public boolean isTreeToRefresh()
public void setTreeToRefresh(boolean treeToRefresh)
treeToRefresh
- True to refreshpublic void refreshServers(HttpServletRequest p_Request, String domainName, String serverName) throws ManagementException, AdminException
p_Request
- The request to access to the HTTP informations
ManagementException
- if could not connect to the MBeanServer
AdminException
public void refreshServers(HttpServletRequest p_Request)
public void refreshCatalina(HttpServletRequest p_Request, String domainName)
p_Request
- The request to access to the HTTP informationspublic void refreshJetty(HttpServletRequest p_Request, String domainName)
p_Request
- The request to access to the HTTP informationspublic void refreshJonas(HttpServletRequest p_Request, String serverName) throws ManagementException, AdminException
p_Request
- The request to access to the HTTP informations
ManagementException
- if could not connect to the MBeanServer
AdminException
public String toString()
toString
in class Object
public String getImagesRoot()
public TreeControl getTreeControl()
public void setTreeControl(TreeControl treeControl)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |