|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.jonas.webapp.jonasadmin.WhereAreYou
Field Summary | |
static java.lang.String |
CONTEXT_MACRO
|
static int |
DEPLOYMENT_DATASOURCE
|
static int |
DEPLOYMENT_EAR
|
static int |
DEPLOYMENT_JAR
|
static int |
DEPLOYMENT_JMS
|
static int |
DEPLOYMENT_MAIL
|
static int |
DEPLOYMENT_RAR
|
static java.lang.String |
DEPLOYMENT_STRING_DATASOURCE
|
static java.lang.String |
DEPLOYMENT_STRING_EAR
|
static java.lang.String |
DEPLOYMENT_STRING_JAR
|
static java.lang.String |
DEPLOYMENT_STRING_JMS
|
static java.lang.String |
DEPLOYMENT_STRING_MAILFACTORY
|
static java.lang.String |
DEPLOYMENT_STRING_RAR
|
static java.lang.String |
DEPLOYMENT_STRING_WAR
|
static int |
DEPLOYMENT_WAR
|
static java.lang.String |
SESSION_NAME
|
static java.lang.String |
TAGS_IMAGES_ROOT_KEY
|
static java.lang.String |
TREE_PAGE_REFRESH
|
Constructor Summary | |
WhereAreYou()
|
Method Summary | |
java.lang.String |
getApplicationContextPath()
|
java.lang.String |
getApplicationJonasServerName()
|
int |
getApplicationServerPort()
|
java.lang.String |
getCurrentCatalinaDefaultHostName()
|
java.lang.String |
getCurrentCatalinaEngineName()
|
java.lang.String |
getCurrentCatalinaServiceName()
|
int |
getCurrentJonasDeploymentType()
|
java.lang.String |
getCurrentJonasServerName()
|
java.lang.String |
getImagesRoot()
|
java.lang.String |
getSelectedNameNode()
Return the name of the selected node in the tree. |
TreeControlNode |
getSelectedTreeControlNode()
Return the selected node in the tree. |
protected java.lang.String |
getServletServerName()
Return the name of the servlet server. |
TreeControl |
getTreeControl()
|
java.lang.String |
getUrlToRefreshSelectedNode(javax.servlet.http.HttpServletRequest p_Request,
javax.servlet.http.HttpServletResponse p_Response)
Return the URL to refresh the selected node in the tree. |
void |
initialize(ActionServlet p_Servlet,
javax.servlet.http.HttpServletRequest p_Request)
Initialize the properties in only reading. |
boolean |
isCatalinaServer()
|
boolean |
isCurrentApplicationJonasServerName()
|
boolean |
isJettyServer()
|
boolean |
isTreeToRefresh()
Return the state of current display of tree. |
void |
refreshCatalina(javax.servlet.http.HttpServletRequest p_Request)
Refresh the Catalina server properties. |
void |
refreshJetty(javax.servlet.http.HttpServletRequest p_Request)
Refresh the Jetty server properties. |
void |
refreshJonas(javax.servlet.http.HttpServletRequest p_Request)
Refresh the JOnAS server properties. |
void |
refreshServers(javax.servlet.http.HttpServletRequest p_Request)
Refresh all the servers properties. |
protected void |
resetCatalina()
Reset the Catalina server properties. |
protected void |
resetJetty()
Reset the Jetty server properties. |
protected void |
resetJonas()
Reset the JOnAS server properties. |
void |
selectNameNode(java.lang.String p_Name,
boolean p_Expand)
Select the node in the tree. |
void |
setCurrentJonasDeploymentType(int currentJonasDeploymentType)
|
void |
setTreeControl(TreeControl treeControl)
|
void |
setTreeToRefresh(boolean treeToRefresh)
Change the state of current display of tree. |
java.lang.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 java.lang.String SESSION_NAME
public static final java.lang.String TAGS_IMAGES_ROOT_KEY
public static final java.lang.String CONTEXT_MACRO
public static final java.lang.String TREE_PAGE_REFRESH
public static final int DEPLOYMENT_EAR
public static final int DEPLOYMENT_JAR
public static final int DEPLOYMENT_WAR
public static final int DEPLOYMENT_RAR
public static final int DEPLOYMENT_DATASOURCE
public static final int DEPLOYMENT_JMS
public static final int DEPLOYMENT_MAIL
public static final java.lang.String DEPLOYMENT_STRING_EAR
public static final java.lang.String DEPLOYMENT_STRING_JAR
public static final java.lang.String DEPLOYMENT_STRING_WAR
public static final java.lang.String DEPLOYMENT_STRING_RAR
public static final java.lang.String DEPLOYMENT_STRING_DATASOURCE
public static final java.lang.String DEPLOYMENT_STRING_JMS
public static final java.lang.String DEPLOYMENT_STRING_MAILFACTORY
Constructor Detail |
public WhereAreYou()
Method Detail |
public void initialize(ActionServlet p_Servlet, javax.servlet.http.HttpServletRequest p_Request)
p_Servlet
- The instance of servlet to access to the parameter of the servlet configp_Request
- The request to access to the HTTP informationspublic java.lang.String getSelectedNameNode()
public java.lang.String getUrlToRefreshSelectedNode(javax.servlet.http.HttpServletRequest p_Request, javax.servlet.http.HttpServletResponse p_Response)
p_Request
- HTTP requestp_Response
- HTTP response
public void selectNameNode(java.lang.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(javax.servlet.http.HttpServletRequest p_Request)
p_Request
- The request to access to the HTTP informationspublic void refreshCatalina(javax.servlet.http.HttpServletRequest p_Request)
p_Request
- The request to access to the HTTP informationspublic void refreshJetty(javax.servlet.http.HttpServletRequest p_Request)
p_Request
- The request to access to the HTTP informationspublic void refreshJonas(javax.servlet.http.HttpServletRequest p_Request)
p_Request
- The request to access to the HTTP informationspublic java.lang.String toString()
protected java.lang.String getServletServerName()
protected void resetCatalina()
protected void resetJetty()
protected void resetJonas()
public java.lang.String getImagesRoot()
public TreeControl getTreeControl()
public void setTreeControl(TreeControl treeControl)
public boolean isCatalinaServer()
public java.lang.String getCurrentCatalinaServiceName()
public boolean isCurrentApplicationJonasServerName()
public int getCurrentJonasDeploymentType()
public void setCurrentJonasDeploymentType(int currentJonasDeploymentType)
public int getApplicationServerPort()
public java.lang.String getCurrentJonasServerName()
public java.lang.String getApplicationJonasServerName()
public java.lang.String getApplicationContextPath()
public java.lang.String getCurrentCatalinaDefaultHostName()
public java.lang.String getCurrentCatalinaEngineName()
public boolean isJettyServer()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |