org.ow2.jonas.webapp.jonasadmin.service.container
Class WebAppJettyForm
java.lang.Object
org.apache.struts.action.ActionForm
org.ow2.jonas.webapp.jonasadmin.service.container.WebAppForm
org.ow2.jonas.webapp.jonasadmin.service.container.WebAppJettyForm
- All Implemented Interfaces:
- Serializable
public class WebAppJettyForm
- extends WebAppForm
- Author:
- Michel-Ange ANTON
- See Also:
- Serialized Form
Fields inherited from class org.apache.struts.action.ActionForm |
multipartRequestHandler, servlet |
Methods inherited from class org.ow2.jonas.webapp.jonasadmin.service.container.WebAppForm |
getAction, getBooleanValues, getJ2eeApplication, getJ2eeServer, getLabelPathContext, getName, getObjectName, getPathContext, isSave, setAction, setJ2eeApplication, setJ2eeServer, setLabelPathContext, setName, setObjectName, setPathContext, setSave |
Methods inherited from class org.apache.struts.action.ActionForm |
getMultipartRequestHandler, getServlet, getServletWrapper, reset, setMultipartRequestHandler, setServlet, validate |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WebAppJettyForm
public WebAppJettyForm()
reset
public void reset(org.apache.struts.action.ActionMapping mapping,
HttpServletRequest request)
- Reset all properties to their default values.
- Overrides:
reset
in class WebAppForm
- Parameters:
mapping
- The mapping used to select this instancerequest
- The servlet request we are processing
validate
public org.apache.struts.action.ActionErrors validate(org.apache.struts.action.ActionMapping mapping,
HttpServletRequest request)
- Validate the properties that have been set from this HTTP request,
and return an
ActionErrors
object that encapsulates any
validation errors that have been found. If no errors are found, return
null
or an ActionErrors
object with no
recorded error messages.
- Overrides:
validate
in class WebAppForm
- Parameters:
mapping
- The mapping used to select this instancerequest
- The servlet request we are processing
- Returns:
- List of errors
numberCheck
public void numberCheck(org.apache.struts.action.ActionErrors p_Errors,
String field,
String numText,
boolean rangeCheck,
int min,
int max)
getHost
public String getHost()
setHost
public void setHost(String host)
getResourceBase
public String getResourceBase()
setResourceBase
public void setResourceBase(String resourceBase)
getDisplayName
public String getDisplayName()
setDisplayName
public void setDisplayName(String displayName)
isStarted
public boolean isStarted()
setStarted
public void setStarted(boolean started)
Copyright © 2010 OW2 Consortium. All Rights Reserved.