org.objectweb.jonas.webapp.jonasadmin.service.container
Class ApplyWebAppCatalinaAction
java.lang.Object
Action
org.objectweb.jonas.webapp.jonasadmin.JonasBaseAction
org.objectweb.jonas.webapp.jonasadmin.deploy.BaseDeployAction
org.objectweb.jonas.webapp.jonasadmin.service.container.BaseWebAppAction
org.objectweb.jonas.webapp.jonasadmin.service.container.ApplyWebAppCatalinaAction
- public class ApplyWebAppCatalinaAction
- extends BaseWebAppAction
- Author:
- Michel-Ange ANTON
- See Also:
- Serialized Form
Method Summary |
protected ActionForward |
createWebApplication(WebAppCatalinaForm p_Form,
ActionMapping p_Mapping,
javax.servlet.http.HttpServletRequest p_Request)
Create a new web application (Context, Manager, Loader). |
ActionForward |
executeAction(ActionMapping p_Mapping,
ActionForm p_Form,
javax.servlet.http.HttpServletRequest p_Request,
javax.servlet.http.HttpServletResponse p_Response)
|
protected ActionForward |
populateMbean(WebAppCatalinaForm p_Form,
ActionForward p_Forward,
ActionMapping p_Mapping,
javax.servlet.http.HttpServletRequest p_Request)
Populate the Mbean web application (Context, Manager, Loader). |
protected ActionForward |
reloadWebApplication(WebAppCatalinaForm p_Form,
ActionMapping p_Mapping)
Reload the current web application. |
protected ActionForward |
startWebApplication(WebAppCatalinaForm p_Form,
ActionMapping p_Mapping)
Start the current web application. |
protected ActionForward |
stopWebApplication(WebAppCatalinaForm p_Form,
ActionMapping p_Mapping)
Stop the current web application. |
Methods inherited from class org.objectweb.jonas.webapp.jonasadmin.deploy.BaseDeployAction |
deploy, deployDataSource, deployMailFactory, getCurrentJonasDeployment, getForwardEdit, getListDeployableFiles, getListDeployedFiles, refreshMBeansTree, refreshServiceTree, refreshTree, runGC, setCurrentJonasDeployment, undeploy, undeployDataSource, undeployMailFactory |
Methods inherited from class org.objectweb.jonas.webapp.jonasadmin.JonasBaseAction |
addGlobalError, getBooleanAttribute, getBooleanAttribute, getBooleanAttribute, getIntegerAttribute, getIntegerAttribute, getIntegerAttribute, getLongAttribute, getLongAttribute, getLongAttribute, getPropsFromString, getStringAttribute, getStringAttribute, getStringAttribute, getTreeBranchName, perform, removeChar, setBooleanAttribute, setBooleanAttribute, setIntegerAttribute, setIntegerAttribute, setIntegerAttribute, setLongAttribute, setLongAttribute, setStringAttribute, setStringAttribute, setStringAttribute, toStringBooleanAttribute, toStringIntegerAttribute, toStringLongAttribute |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ApplyWebAppCatalinaAction
public ApplyWebAppCatalinaAction()
executeAction
public ActionForward executeAction(ActionMapping p_Mapping,
ActionForm p_Form,
javax.servlet.http.HttpServletRequest p_Request,
javax.servlet.http.HttpServletResponse p_Response)
throws java.io.IOException,
javax.servlet.ServletException
- Specified by:
executeAction
in class JonasBaseAction
- Throws:
java.io.IOException
javax.servlet.ServletException
createWebApplication
protected ActionForward createWebApplication(WebAppCatalinaForm p_Form,
ActionMapping p_Mapping,
javax.servlet.http.HttpServletRequest p_Request)
throws java.lang.Exception
- Create a new web application (Context, Manager, Loader).
- Parameters:
p_Form
- The current formp_Mapping
- The current mappingp_Request
- The current request
- Returns:
- The forward to go to the next page
- Throws:
java.lang.Exception
populateMbean
protected ActionForward populateMbean(WebAppCatalinaForm p_Form,
ActionForward p_Forward,
ActionMapping p_Mapping,
javax.servlet.http.HttpServletRequest p_Request)
throws java.lang.Exception
- Populate the Mbean web application (Context, Manager, Loader).
- Parameters:
p_Form
- The current formp_Forward
- The current forwardp_Mapping
- The current mappingp_Request
- The current request
- Returns:
- If 'save' is requested then return the new forward to save
else return the current forward
- Throws:
java.lang.Exception
reloadWebApplication
protected ActionForward reloadWebApplication(WebAppCatalinaForm p_Form,
ActionMapping p_Mapping)
throws java.lang.Exception
- Reload the current web application.
- Parameters:
p_Form
- The current formp_Mapping
- The current mapping
- Returns:
- The forward to go to the next page
- Throws:
java.lang.Exception
startWebApplication
protected ActionForward startWebApplication(WebAppCatalinaForm p_Form,
ActionMapping p_Mapping)
throws java.lang.Exception
- Start the current web application.
- Parameters:
p_Form
- The current formp_Mapping
- The current mapping
- Returns:
- The forward to go to the next page
- Throws:
java.lang.Exception
stopWebApplication
protected ActionForward stopWebApplication(WebAppCatalinaForm p_Form,
ActionMapping p_Mapping)
throws java.lang.Exception
- Stop the current web application.
- Parameters:
p_Form
- The current formp_Mapping
- The current mapping
- Returns:
- The forward to go to the next page
- Throws:
java.lang.Exception