org.objectweb.jonas.webapp.jonasadmin.service.ejb
Class EjbSessionForm

java.lang.Object
  extended byorg.apache.struts.action.ActionForm
      extended byorg.objectweb.jonas.webapp.jonasadmin.service.ejb.EjbForm
          extended byorg.objectweb.jonas.webapp.jonasadmin.service.ejb.EjbSessionForm
All Implemented Interfaces:
java.io.Serializable

public class EjbSessionForm
extends EjbForm

Author:
Michel-Ange ANTON, S. Ali Tokmen, Malek Chahine: EJB statistics
See Also:
Serialized Form

Field Summary
static java.lang.String SESSION_TIME_OUT_DEFAULT
           
 
Fields inherited from class org.apache.struts.action.ActionForm
multipartRequestHandler, servlet
 
Constructor Summary
EjbSessionForm()
           
 
Method Summary
 long getAverageBusinessProcessingTime()
           
 long getAverageProcessingTime()
           
 java.util.List getBooleanValues()
           
 boolean getMonitoringEnabled()
           
 boolean getMonitoringSettingsDefinedInDD()
           
 int getNumberOfCalls()
           
 java.lang.String getSessionTimeOut()
           
 long getTotalBusinessProcessingTime()
           
 long getTotalProcessingTime()
           
 int getWarningThreshold()
           
 void reset(org.apache.struts.action.ActionMapping mapping, javax.servlet.http.HttpServletRequest request)
          Reset all properties to their default values.
 void setAverageBusinessProcessingTime(long averageBusinessProcessingTime)
           
 void setAverageProcessingTime(long averageProcessingTime)
           
 void setMonitoringEnabled(boolean monitoringEnabled)
           
 void setMonitoringSettingsDefinedInDD(boolean monitoringSettingsDefinedInDD)
           
 void setNumberOfCalls(int numberOfCalls)
           
 void setSessionTimeOut(java.lang.String sessionTimeOut)
           
 void setTotalBusinessProcessingTime(long totalBusinessProcessingTime)
           
 void setTotalProcessingTime(long totalProcessingTime)
           
 void setWarningThreshold(int warningThreshold)
           
 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.objectweb.jonas.webapp.jonasadmin.service.ejb.EjbForm
getAction, getCacheSize, getDataSources, getDisplayName, getEjbClass, getEjbFileName, getEjbName, getFile, getFilename, getFullType, getHomeClass, getJdbcRas, getJmsConnections, getJmsDestinations, getJmsDestinationsTable, getJndiName, getLocalClass, getLocalHomeClass, getMailMimes, getMailSessions, getMaxCacheSize, getMinPoolSize, getName, getObjectName, getPoolSize, getRemoteClass, getType, isDatabaseServiceActivated, isDataSource, isDependency, isJmsConnection, isJmsDestination, isJmsServiceActivated, isJoramResourceLoaded, isMailMime, isMailServiceActivated, isMailSession, isResourceServiceActivated, numberCheck, setAction, setCacheSize, setDatabaseServiceActivated, setDataSource, setDataSources, setDependency, setDisplayName, setEjbClass, setEjbFileName, setEjbName, setFile, setFullType, setHomeClass, setJdbcRas, setJmsConnection, setJmsConnections, setJmsDestination, setJmsDestinations, setJmsDestinationsTable, setJmsServiceActivated, setJndiName, setJoramResourceLoaded, setLocalClass, setLocalHomeClass, setMailMime, setMailMimes, setMailServiceActivated, setMailSession, setMailSessions, setMaxCacheSize, setMinPoolSize, setName, setObjectName, setPoolSize, setRemoteClass, setResourceServiceActivated, setType
 
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
 

Field Detail

SESSION_TIME_OUT_DEFAULT

public static final java.lang.String SESSION_TIME_OUT_DEFAULT
See Also:
Constant Field Values
Constructor Detail

EjbSessionForm

public EjbSessionForm()
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 EjbForm
Parameters:
mapping - The mapping used to select this instance
request - The servlet request we are processing

getMonitoringSettingsDefinedInDD

public boolean getMonitoringSettingsDefinedInDD()

setMonitoringSettingsDefinedInDD

public void setMonitoringSettingsDefinedInDD(boolean monitoringSettingsDefinedInDD)

getMonitoringEnabled

public boolean getMonitoringEnabled()

setMonitoringEnabled

public void setMonitoringEnabled(boolean monitoringEnabled)

getWarningThreshold

public int getWarningThreshold()

setWarningThreshold

public void setWarningThreshold(int warningThreshold)

getNumberOfCalls

public int getNumberOfCalls()

setNumberOfCalls

public void setNumberOfCalls(int numberOfCalls)

getTotalBusinessProcessingTime

public long getTotalBusinessProcessingTime()

setTotalBusinessProcessingTime

public void setTotalBusinessProcessingTime(long totalBusinessProcessingTime)

getTotalProcessingTime

public long getTotalProcessingTime()

setTotalProcessingTime

public void setTotalProcessingTime(long totalProcessingTime)

getAverageBusinessProcessingTime

public long getAverageBusinessProcessingTime()

setAverageBusinessProcessingTime

public void setAverageBusinessProcessingTime(long averageBusinessProcessingTime)

getAverageProcessingTime

public long getAverageProcessingTime()

setAverageProcessingTime

public void setAverageProcessingTime(long averageProcessingTime)

getSessionTimeOut

public java.lang.String getSessionTimeOut()

setSessionTimeOut

public void setSessionTimeOut(java.lang.String sessionTimeOut)

getBooleanValues

public java.util.List getBooleanValues()

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 EjbForm
Parameters:
mapping - The mapping used to select this instance
request - The servlet request we are processing
Returns:
List of errors or null