org.objectweb.jonas.webapp.jonasadmin.monitoring
Class MonitoringForm

java.lang.Object
  extended byActionForm
      extended byorg.objectweb.jonas.webapp.jonasadmin.monitoring.MonitoringForm

public class MonitoringForm
extends ActionForm

See Also:
Serialized Form

Constructor Summary
MonitoringForm()
           
 
Method Summary
 int getActiveThreadsCount()
           
 boolean isActivated()
           
 void reset(ActionMapping mapping, javax.servlet.http.HttpServletRequest request)
          Reset all properties to their default values.
 void setActivated(boolean activated)
           
 void setActiveThreadsCount(int activeThreadsCount)
           
 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
 

Constructor Detail

MonitoringForm

public MonitoringForm()
Method Detail

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 instance
request - 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 instance
request - The servlet request we are processing

isActivated

public boolean isActivated()

setActivated

public void setActivated(boolean activated)

getActiveThreadsCount

public int getActiveThreadsCount()

setActiveThreadsCount

public void setActiveThreadsCount(int activeThreadsCount)