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

java.lang.Object
  extended by org.apache.struts.action.ActionForm
      extended by org.ow2.jonas.webapp.jonasadmin.service.ejb.EjbForm
          extended by org.ow2.jonas.webapp.jonasadmin.service.ejb.EjbSessionForm
All Implemented Interfaces:
Serializable

public class EjbSessionForm
extends EjbForm

Author:
Michel-Ange ANTON
See Also:
Serialized Form

Field Summary
static 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()
           
 List getBooleanValues()
          Get boolean values.
 boolean getMonitoringEnabled()
           
 boolean getMonitoringSettingsDefinedInDD()
           
 long getNumberOfCalls()
           
 String getSessionTimeOut()
           
 long getTotalBusinessProcessingTime()
           
 long getTotalProcessingTime()
           
 int getWarningThreshold()
           
 void reset(org.apache.struts.action.ActionMapping mapping, 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(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, 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.service.ejb.EjbForm
getAction, getAttributes, getCacheSize, getDataSources, getDisplayName, getEjbClass, getEjbFileName, getEjbName, getFile, getFilename, getFullType, getGeneralAttributes, getHomeClass, getJdbcRas, getJmsConnections, getJmsDestinations, getJmsDestinationsTable, getJndiName, getLocalClass, getLocalHomeClass, getMailMimes, getMailSessions, getMaxCacheSize, getMinPoolSize, getMonitoringAttributes, getName, getNamingAttributes, getObjectName, getPoolSize, getRemoteClass, getType, isDatabaseServiceActivated, isDataSource, isDependency, isEjb3, isJmsConnection, isJmsDestination, isJmsServiceActivated, isJoramResourceLoaded, isMailMime, isMailServiceActivated, isMailSession, isResourceServiceActivated, isWritable, numberCheck, setAction, setAttributes, setCacheSize, setDatabaseServiceActivated, setDataSource, setDataSources, setDependency, setDisplayName, setEjb3, setEjbClass, setEjbFileName, setEjbName, setFile, setFullType, setGeneralAttributes, setHomeClass, setJdbcRas, setJmsConnection, setJmsConnections, setJmsDestination, setJmsDestinations, setJmsDestinationsTable, setJmsServiceActivated, setJndiName, setJoramResourceLoaded, setLocalClass, setLocalHomeClass, setMailMime, setMailMimes, setMailServiceActivated, setMailSession, setMailSessions, setMaxCacheSize, setMinPoolSize, setMonitoringAttributes, setMonitoringAttributes, setName, setNamingAttributes, setNamingAttributes, setObjectName, setPoolSize, setRemoteClass, setResourceServiceActivated, setType, setWritable
 
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 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,
                  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

getSessionTimeOut

public String getSessionTimeOut()

setSessionTimeOut

public void setSessionTimeOut(String sessionTimeOut)

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 long 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)

getBooleanValues

public List getBooleanValues()
Description copied from class: EjbForm
Get boolean values.

Overrides:
getBooleanValues in class EjbForm
Returns:
boolean values.

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


Copyright © 2010 OW2 Consortium. All Rights Reserved.