org.ow2.jonas.webapp.jonasadmin.jonasserver
Class JonasServerForm

java.lang.Object
  extended by org.apache.struts.action.ActionForm
      extended by org.ow2.jonas.webapp.jonasadmin.jonasserver.BasicJonasServerForm
          extended by org.ow2.jonas.webapp.jonasadmin.jonasserver.JonasServerForm
All Implemented Interfaces:
Serializable

public final class JonasServerForm
extends BasicJonasServerForm

Form bean for the Jonas server form page.

Author:
Michel-Ange ANTON
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.struts.action.ActionForm
multipartRequestHandler, servlet
 
Constructor Summary
JonasServerForm()
           
 
Method Summary
 String getJonasName()
           
 String getJonasVersion()
           
 String getProtocols()
          Get the Jonas server ORB.
 String getServerServletContainerInfo()
           
 String getState()
           
 String getVersions()
           
 void reset(org.apache.struts.action.ActionMapping mapping, HttpServletRequest request)
          Reset all properties to their default values.
 void setJonasName(String jonasName)
           
 void setJonasVersion(String jonasVersion)
           
 void setProtocols(String protocols)
          Set the Jonas server ORB.
 void setServerServletContainerInfo(String serverServletContainerInfo)
           
 void setState(String state)
          Set state information
 void setVersions(String versions)
           
 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.
 
Methods inherited from class org.ow2.jonas.webapp.jonasadmin.jonasserver.BasicJonasServerForm
getPresentServletContainer, setPresentServletContainer
 
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

JonasServerForm

public JonasServerForm()
Method Detail

getJonasVersion

public String getJonasVersion()

setJonasVersion

public void setJonasVersion(String jonasVersion)

getJonasName

public String getJonasName()

setJonasName

public void setJonasName(String jonasName)

getProtocols

public String getProtocols()
Get the Jonas server ORB.

Returns:

setProtocols

public void setProtocols(String protocols)
Set the Jonas server ORB.

Parameters:
orb -

getServerServletContainerInfo

public String getServerServletContainerInfo()

setServerServletContainerInfo

public void setServerServletContainerInfo(String serverServletContainerInfo)

reset

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

Overrides:
reset in class BasicJonasServerForm
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,
                                                      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 BasicJonasServerForm
Parameters:
mapping - The mapping used to select this instance
request - The servlet request we are processing
Returns:
action errors

getVersions

public String getVersions()
Returns:
Returns the versions.

setVersions

public void setVersions(String versions)
Parameters:
versions - The versions to set.

getState

public String getState()
Returns:
the state information

setState

public void setState(String state)
Set state information

Parameters:
state - value


Copyright © 2010 OW2 Consortium. All Rights Reserved.