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

java.lang.Object
  extended by org.apache.struts.action.ActionForm
      extended by org.objectweb.jonas.webapp.jonasadmin.service.container.EarForm
All Implemented Interfaces:
java.io.Serializable

public class EarForm
extends org.apache.struts.action.ActionForm

Author:
Michel-Ange ANTON, Adriana Danes
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.struts.action.ActionForm
multipartRequestHandler, servlet
 
Constructor Summary
EarForm()
           
 
Method Summary
 java.lang.String getEarPath()
           
 java.util.ArrayList getEjbjars()
           
 java.lang.String getFilename()
           
 java.util.ArrayList getRars()
           
 java.util.ArrayList getWars()
           
 java.lang.String getXmlDeploymentDescriptor()
           
 void reset(org.apache.struts.action.ActionMapping mapping, javax.servlet.http.HttpServletRequest request)
          Reset all properties to their default values.
 void setEarPath(java.net.URL pUrl)
           
 void setEjbjars(java.util.ArrayList ejbjars)
           
 void setFilename(java.lang.String filename)
           
 void setRars(java.util.ArrayList rars)
           
 void setWars(java.util.ArrayList wars)
           
 void setXmlDeploymentDescriptor(java.lang.String xmlDeploymentDescriptor)
           
 org.apache.struts.action.ActionErrors validate(org.apache.struts.action.ActionMapping mapping, javax.servlet.http.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.
 
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
 

Constructor Detail

EarForm

public EarForm()
Method Detail

reset

public void reset(org.apache.struts.action.ActionMapping mapping,
                  javax.servlet.http.HttpServletRequest request)
Reset all properties to their default values.

Overrides:
reset in class org.apache.struts.action.ActionForm
Parameters:
mapping - The mapping used to select this instance
request - The servlet request we are processing

validate

public org.apache.struts.action.ActionErrors validate(org.apache.struts.action.ActionMapping mapping,
                                                      javax.servlet.http.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 org.apache.struts.action.ActionForm
Parameters:
mapping - The mapping used to select this instance
request - The servlet request we are processing
Returns:
the ActionErrors

getFilename

public java.lang.String getFilename()
Returns:
the name of the file containing the ear

setFilename

public void setFilename(java.lang.String filename)
Parameters:
filename - the name of the file containing the ear

getEarPath

public java.lang.String getEarPath()
Returns:
the complete path of the file containing the ear

setEarPath

public void setEarPath(java.net.URL pUrl)
Parameters:
pUrl - the ear's URL

getXmlDeploymentDescriptor

public java.lang.String getXmlDeploymentDescriptor()
Returns:
the ear's deployement descriptor

setXmlDeploymentDescriptor

public void setXmlDeploymentDescriptor(java.lang.String xmlDeploymentDescriptor)
Parameters:
xmlDeploymentDescriptor - The ear's deployement descriptor

getEjbjars

public java.util.ArrayList getEjbjars()
Returns:
The list of ModuleItems corresponding to the ejb-jars (EJBModules) contained in the ear.

setEjbjars

public void setEjbjars(java.util.ArrayList ejbjars)
Parameters:
ejbjars - The list of ModuleItems corresponding to the ejb-jars (EJBModules) contained in the ear.

getWars

public java.util.ArrayList getWars()
Returns:
The list of ModuleItems corresponding to the wars (WebModules) contained in the ear.

setWars

public void setWars(java.util.ArrayList wars)
Parameters:
wars - The list of ModuleItems corresponding to the wars (WebModules) contained in the ear.

getRars

public java.util.ArrayList getRars()
Returns:
Returns the rars.

setRars

public void setRars(java.util.ArrayList rars)
Parameters:
rars - The rars to set.