org.objectweb.jonas.webapp.jonasadmin.service.jms
Class JmsServiceForm
java.lang.Object
ActionForm
org.objectweb.jonas.webapp.jonasadmin.service.jms.JmsServiceForm
- public final class JmsServiceForm
- extends ActionForm
Form used to present a MOM's properties
- Author:
- Adriana Danes
- See Also:
- Serialized Form
Method Summary |
java.lang.String |
getMomLocation()
|
java.lang.String |
getMomName()
|
java.lang.String |
getMomUrl()
|
void |
reset(ActionMapping mapping,
javax.servlet.http.HttpServletRequest request)
Reset all properties to their default values. |
void |
setMomLocation(java.lang.String momLocation)
|
void |
setMomName(java.lang.String momName)
|
void |
setMomUrl(java.lang.String momUrl)
|
ActionErrors |
validate(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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JmsServiceForm
public JmsServiceForm()
getMomName
public java.lang.String getMomName()
setMomName
public void setMomName(java.lang.String momName)
getMomLocation
public java.lang.String getMomLocation()
setMomLocation
public void setMomLocation(java.lang.String momLocation)
getMomUrl
public java.lang.String getMomUrl()
setMomUrl
public void setMomUrl(java.lang.String momUrl)
reset
public void reset(ActionMapping mapping,
javax.servlet.http.HttpServletRequest request)
- Reset all properties to their default values.
- Parameters:
mapping
- The mapping used to select this instancerequest
- The servlet request we are processing
validate
public ActionErrors validate(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.
- Parameters:
mapping
- The mapping used to select this instancerequest
- The servlet request we are processing