org.objectweb.jonas.webapp.jonasadmin.service.jtm
Class JtmServiceForm
java.lang.Object
ActionForm
org.objectweb.jonas.webapp.jonasadmin.service.jtm.JtmServiceForm
- public final class JtmServiceForm
- extends ActionForm
Form used to present the Transaction Manager properties
- Author:
- Adriana Danes
- See Also:
- Serialized Form
Method Summary |
java.lang.String |
getAction()
|
java.lang.String |
getJtmHost()
|
java.lang.String |
getJtmLocation()
|
java.lang.String |
getJtmPort()
|
int |
getTimeOut()
|
void |
reset(ActionMapping mapping,
javax.servlet.http.HttpServletRequest request)
Reset all properties to their default values. |
void |
setAction(java.lang.String action)
|
void |
setJtmHost(java.lang.String jtmHost)
|
void |
setJtmLocation(java.lang.String jtmLocation)
|
void |
setJtmPort(java.lang.String jtmPort)
|
void |
setTimeOut(int timeOut)
|
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 |
JtmServiceForm
public JtmServiceForm()
getTimeOut
public int getTimeOut()
setTimeOut
public void setTimeOut(int timeOut)
getJtmHost
public java.lang.String getJtmHost()
setJtmHost
public void setJtmHost(java.lang.String jtmHost)
getJtmLocation
public java.lang.String getJtmLocation()
setJtmLocation
public void setJtmLocation(java.lang.String jtmLocation)
getJtmPort
public java.lang.String getJtmPort()
setJtmPort
public void setJtmPort(java.lang.String jtmPort)
getAction
public java.lang.String getAction()
setAction
public void setAction(java.lang.String action)
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