org.objectweb.jonas.webapp.jonasadmin.joramplatform
Class JoramPlatformForm

java.lang.Object
  extended by org.apache.struts.action.ActionForm
      extended by org.objectweb.jonas.webapp.jonasadmin.joramplatform.JoramPlatformForm
All Implemented Interfaces:
java.io.Serializable

public final class JoramPlatformForm
extends org.apache.struts.action.ActionForm

Form bean for the Joram platform form page.

Author:
Frederic MAISTRE, Adriana Danes
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.struts.action.ActionForm
multipartRequestHandler, servlet
 
Constructor Summary
JoramPlatformForm()
           
 
Method Summary
 boolean getAdapterLoaded()
           
 java.lang.String getAdminFile()
           
 java.lang.String getCnxPendingTimerTxt()
           
 java.lang.String getConfigDir()
           
 java.lang.String getConfiguration()
           
 java.lang.String getConnectingTimerTxt()
           
 java.lang.String getDefaultDMQ()
           
 int getDefaultThreshold()
           
 java.lang.String getHostName()
           
 java.lang.String getLocalHost()
           
 int getLocalPort()
           
 java.lang.String getLocalServer()
           
 java.lang.String[] getRemoteServers()
           
 java.lang.String getServerIdTxt()
           
 java.lang.String getServerName()
           
 java.lang.String getServerPortTxt()
           
 long getTimeOutToAbortRequest()
           
 java.lang.String getTxPendingTimerTxt()
           
 java.lang.String getVersion()
           
 boolean isCollocatedServer()
           
 boolean isPersistentServer()
           
 void reset(org.apache.struts.action.ActionMapping mapping, javax.servlet.http.HttpServletRequest request)
          Reset all properties to their default values.
 void setAdapterLoaded(boolean adapterLoaded)
           
 void setAdminFile(java.lang.String adminFile)
           
 void setCnxPendingTimerTxt(java.lang.String cnxPendingTimerTxt)
           
 void setCollocatedServer(boolean collocatedServer)
           
 void setConfigDir(java.lang.String configDir)
           
 void setConfiguration(java.lang.String configuration)
           
 void setConnectingTimerTxt(java.lang.String connectingTimerTxt)
           
 void setDefaultDMQ(java.lang.String defaultDMQ)
           
 void setDefaultThreshold(int defaultThreshold)
           
 void setHostName(java.lang.String hostName)
           
 void setLocalHost(java.lang.String localHost)
           
 void setLocalPort(int localPort)
           
 void setLocalServer(java.lang.String localServer)
           
 void setPersistentServer(boolean persistentServer)
           
 void setRemoteServers(java.lang.String[] remoteServers)
           
 void setServerIdTxt(java.lang.String serverIdTxt)
           
 void setServerName(java.lang.String serverName)
           
 void setServerPortTxt(java.lang.String serverPortTxt)
           
 void setTimeOutToAbortRequest(long timeOutToAbortRequest)
           
 void setTxPendingTimerTxt(java.lang.String txPendingTimerTxt)
           
 void setVersion(java.lang.String version)
           
 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.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
 

Constructor Detail

JoramPlatformForm

public JoramPlatformForm()
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 org.apache.struts.action.ActionForm
Parameters:
mapping - The mapping used to select this instance
request - The servlet request we are processing

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 org.apache.struts.action.ActionForm
Parameters:
mapping - The mapping used to select this instance
request - The servlet request we are processing

getLocalServer

public java.lang.String getLocalServer()
Returns:
Returns the localServer.

setLocalServer

public void setLocalServer(java.lang.String localServer)
Parameters:
localServer - The localServer to set.

getRemoteServers

public java.lang.String[] getRemoteServers()
Returns:
Returns the remoteServers.

setRemoteServers

public void setRemoteServers(java.lang.String[] remoteServers)
Parameters:
remoteServers - The remoteServers to set.

getAdapterLoaded

public boolean getAdapterLoaded()
Returns:
Returns the isAdapterLoaded.

setAdapterLoaded

public void setAdapterLoaded(boolean adapterLoaded)
Parameters:
isAdapterLoaded - The isAdapterLoaded to set.

getConfiguration

public java.lang.String getConfiguration()
Returns:
Returns the configuration.

setConfiguration

public void setConfiguration(java.lang.String configuration)
Parameters:
configuration - The configuration to set.

getVersion

public java.lang.String getVersion()
Returns:
Returns the version.

setVersion

public void setVersion(java.lang.String version)
Parameters:
version - The version to set.

getLocalPort

public int getLocalPort()
Returns:
Returns the localPort.

setLocalPort

public void setLocalPort(int localPort)
Parameters:
localPort - The localPort to set.

getDefaultThreshold

public int getDefaultThreshold()
Returns:
Returns the defaultThreshold.

setDefaultThreshold

public void setDefaultThreshold(int defaultThreshold)
Parameters:
defaultThreshold - The defaultThreshold to set.

isCollocatedServer

public boolean isCollocatedServer()
Returns:
Returns the collocatedServer.

setCollocatedServer

public void setCollocatedServer(boolean collocatedServer)
Parameters:
collocatedServer - The collocatedServer to set.

getConfigDir

public java.lang.String getConfigDir()
Returns:
Returns the configDir.

setConfigDir

public void setConfigDir(java.lang.String configDir)
Parameters:
configDir - The configDir to set.

getAdminFile

public java.lang.String getAdminFile()
Returns:
Returns the adminFile.

setAdminFile

public void setAdminFile(java.lang.String adminFile)
Parameters:
adminFile - The adminFile to set.

isPersistentServer

public boolean isPersistentServer()
Returns:
Returns the persistentServer.

setPersistentServer

public void setPersistentServer(boolean persistentServer)
Parameters:
persistentServer - The persistentServer to set.

getServerIdTxt

public java.lang.String getServerIdTxt()
Returns:
Returns the serverIdTxt.

setServerIdTxt

public void setServerIdTxt(java.lang.String serverIdTxt)
Parameters:
serverIdTxt - The serverIdTxt to set.

getServerName

public java.lang.String getServerName()
Returns:
Returns the serverName.

setServerName

public void setServerName(java.lang.String serverName)
Parameters:
serverName - The serverName to set.

getHostName

public java.lang.String getHostName()
Returns:
Returns the hostName.

setHostName

public void setHostName(java.lang.String hostName)
Parameters:
hostName - The hostName to set.

getServerPortTxt

public java.lang.String getServerPortTxt()
Returns:
Returns the serverPortTxt.

setServerPortTxt

public void setServerPortTxt(java.lang.String serverPortTxt)
Parameters:
serverPortTxt - The serverPortTxt to set.

getCnxPendingTimerTxt

public java.lang.String getCnxPendingTimerTxt()
Returns:
Returns the cnxPendingTimerTxt.

setCnxPendingTimerTxt

public void setCnxPendingTimerTxt(java.lang.String cnxPendingTimerTxt)
Parameters:
cnxPendingTimerTxt - The cnxPendingTimerTxt to set.

getConnectingTimerTxt

public java.lang.String getConnectingTimerTxt()
Returns:
Returns the connectingTimerTxt.

setConnectingTimerTxt

public void setConnectingTimerTxt(java.lang.String connectingTimerTxt)
Parameters:
connectingTimerTxt - The connectingTimerTxt to set.

getTxPendingTimerTxt

public java.lang.String getTxPendingTimerTxt()
Returns:
Returns the txPendingTimerTxt.

setTxPendingTimerTxt

public void setTxPendingTimerTxt(java.lang.String txPendingTimerTxt)
Parameters:
txPendingTimerTxt - The txPendingTimerTxt to set.

getLocalHost

public java.lang.String getLocalHost()
Returns:
Returns the localHost.

setLocalHost

public void setLocalHost(java.lang.String localHost)
Parameters:
localHost - The localHost to set.

getTimeOutToAbortRequest

public long getTimeOutToAbortRequest()
Returns:
Returns the timeOutToAbortRequest.

setTimeOutToAbortRequest

public void setTimeOutToAbortRequest(long timeOutToAbortRequest)
Parameters:
timeOutToAbortRequest - The timeOutToAbortRequest to set.

getDefaultDMQ

public java.lang.String getDefaultDMQ()
Returns:
Returns the defaultDMQ.

setDefaultDMQ

public void setDefaultDMQ(java.lang.String defaultDMQ)
Parameters:
defaultDMQ - The defaultDMQ to set.