org.objectweb.jonas.webapp.jonasadmin.service.container
Class ApplyWebAppJettyAction

java.lang.Object
  extended byAction
      extended byorg.objectweb.jonas.webapp.jonasadmin.JonasBaseAction
          extended byorg.objectweb.jonas.webapp.jonasadmin.deploy.BaseDeployAction
              extended byorg.objectweb.jonas.webapp.jonasadmin.service.container.BaseWebAppAction
                  extended byorg.objectweb.jonas.webapp.jonasadmin.service.container.ApplyWebAppJettyAction

public class ApplyWebAppJettyAction
extends BaseWebAppAction

Author:
Michel-Ange ANTON
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.objectweb.jonas.webapp.jonasadmin.service.container.BaseWebAppAction
m_WarForm, m_WebAppForm
 
Fields inherited from class org.objectweb.jonas.webapp.jonasadmin.JonasBaseAction
m_Errors, m_Resources, m_Session, m_WhereAreYou
 
Constructor Summary
ApplyWebAppJettyAction()
           
 
Method Summary
 ActionForward executeAction(ActionMapping p_Mapping, ActionForm p_Form, javax.servlet.http.HttpServletRequest p_Request, javax.servlet.http.HttpServletResponse p_Response)
           
protected  ActionForward startWebApplication(WebAppJettyForm p_Form, ActionMapping p_Mapping)
          Start the current web application.
protected  ActionForward stopWebApplication(WebAppJettyForm p_Form, ActionMapping p_Mapping)
          Stop the current web application.
 
Methods inherited from class org.objectweb.jonas.webapp.jonasadmin.service.container.BaseWebAppAction
createWarForm, createWebAppForm, findJonasMbeanWar, initialize, populateWar, populateWar, populateWebApp, populateWebAppCatalina, populateWebAppJetty
 
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, initialize, 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
 

Constructor Detail

ApplyWebAppJettyAction

public ApplyWebAppJettyAction()
Method Detail

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

startWebApplication

protected ActionForward startWebApplication(WebAppJettyForm p_Form,
                                            ActionMapping p_Mapping)
                                     throws java.lang.Exception
Start the current web application.

Parameters:
p_Form - The current form
p_Mapping - The current mapping
Returns:
The forward to go to the next page
Throws:
java.lang.Exception

stopWebApplication

protected ActionForward stopWebApplication(WebAppJettyForm p_Form,
                                           ActionMapping p_Mapping)
                                    throws java.lang.Exception
Stop the current web application.

Parameters:
p_Form - The current form
p_Mapping - The current mapping
Returns:
The forward to go to the next page
Throws:
java.lang.Exception