|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.struts.action.ActionForm
org.objectweb.jonas.webapp.jonasadmin.catalina.ConnectorForm
Form bean for the connector page.
Field Summary |
Fields inherited from class org.apache.struts.action.ActionForm |
multipartRequestHandler, servlet |
Constructor Summary | |
ConnectorForm()
|
Method Summary | |
java.lang.String |
getAcceptCountText()
Return the acceptCountText. |
java.lang.String |
getAction()
Return the administrative action represented by this form. |
java.lang.String |
getAddress()
Return the address. |
java.util.List |
getBooleanVals()
Return the booleanVals. |
java.lang.String |
getBufferSizeText()
Return the bufferSizeText. |
java.lang.String |
getConnectorName()
|
java.lang.String |
getConnectorType()
Return the Connector type. |
java.util.List |
getConnectorTypeVals()
Return the connectorTypeVals. |
java.lang.String |
getConnTimeOutText()
Return the connTimeOutText. |
java.lang.String |
getDebugLvl()
Return the Debug Level Text. |
java.util.List |
getDebugLvlVals()
Return the debugVals. |
java.lang.String |
getKeyStoreFileName()
|
java.lang.String |
getKeyStorePassword()
|
java.lang.String |
getLabel()
|
java.lang.String |
getMaxProcessorsText()
|
java.lang.String |
getMaxSpareThreadsText()
Return the max SpareThreads Text. |
java.lang.String |
getMaxThreadsText()
Return the max SpareThreads Text. |
java.lang.String |
getMinProcessorsText()
|
java.lang.String |
getMinSpareThreadsText()
Return the min SpareThreads Text. |
java.lang.String |
getObjectName()
Return the object name of the Connector this bean refers to. |
java.lang.String |
getPortText()
Return the port text. |
java.lang.String |
getProxyName()
Return the proxy Name. |
java.lang.String |
getProxyPortText()
Return the proxy Port NumberText. |
java.lang.String |
getRedirectPortText()
Return the port. |
java.lang.String |
getScheme()
Return the Scheme. |
java.lang.String |
getServiceName()
Return the object name of the service this connector belongs to. |
boolean |
isClientAuthentication()
Return the true/false value of client authentication. |
boolean |
isEnableLookups()
Return the Enable lookup Text. |
boolean |
isSave()
|
void |
numberCheck(org.apache.struts.action.ActionErrors pErrors,
java.lang.String field,
java.lang.String numText,
boolean rangeCheck,
int min,
int max)
Helper method to check that it is a required number and is a valid integer within the given range. |
void |
setAcceptCountText(java.lang.String acceptCountText)
Set the acceptCountText. |
void |
setAction(java.lang.String action)
Set the administrative action represented by this form. |
void |
setAddress(java.lang.String address)
Set the address. |
void |
setBooleanVals(java.util.List booleanVals)
Set the debugVals. |
void |
setBufferSizeText(java.lang.String bufferSizeText)
Set the bufferSizeText. |
void |
setClientAuthentication(boolean clientAuthentication)
Set whether client authentication is supported or not. |
void |
setConnectorName(java.lang.String connectorName)
|
void |
setConnectorType(java.lang.String connectorType)
Set the Connector type. |
void |
setConnectorTypeVals(java.util.List connectorTypeVals)
Set the connectorTypeVals. |
void |
setConnTimeOutText(java.lang.String connTimeOutText)
Set the connTimeOutText. |
void |
setDebugLvl(java.lang.String debugLvl)
Set the Debug Level Text. |
void |
setDebugLvlVals(java.util.List debugLvlVals)
Set the debugVals. |
void |
setEnableLookups(boolean enableLookups)
Set the Enable Lookup Text. |
void |
setKeyStoreFileName(java.lang.String keyStoreFileName)
|
void |
setKeyStorePassword(java.lang.String keyStorePassword)
|
void |
setMaxProcessorsText(java.lang.String maxProcessorsText)
|
void |
setMaxSpareThreadsText(java.lang.String maxSpareThreadsText)
Set the Max SpareThreads Text. |
void |
setMaxThreadsText(java.lang.String maxThreadsText)
Set the Max SpareThreads Text. |
void |
setMinProcessorsText(java.lang.String minProcessorsText)
|
void |
setMinSpareThreadsText(java.lang.String minSpareThreadsText)
Set the minSpareThreads Text. |
void |
setObjectName(java.lang.String objectName)
Set the object name of the Connector this bean refers to. |
void |
setPortText(java.lang.String portText)
Set the port Text. |
void |
setProxyName(java.lang.String proxyName)
Set the proxy Name. |
void |
setProxyPortText(java.lang.String proxyPortText)
Set the proxy Port NumberText. |
void |
setRedirectPortText(java.lang.String redirectPortText)
Set the Redirect Port Text. |
void |
setSave(boolean save)
|
void |
setScheme(java.lang.String scheme)
Set the Scheme. |
void |
setServiceName(java.lang.String serviceName)
Set the object name of the Service this connector belongs to. |
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, reset, setMultipartRequestHandler, setServlet, validate |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ConnectorForm()
Method Detail |
public org.apache.struts.action.ActionErrors validate(org.apache.struts.action.ActionMapping mapping, javax.servlet.http.HttpServletRequest request)
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.
mapping
- The mapping used to select this instancerequest
- The servlet request we are processing
public void numberCheck(org.apache.struts.action.ActionErrors pErrors, java.lang.String field, java.lang.String numText, boolean rangeCheck, int min, int max)
field
- The field name in the form for which this error occured.numText
- The string representation of the number.rangeCheck
- Boolean value set to true of reange check should be performed.min
- The lower limit of the rangemax
- The upper limit of the rangepErrors
- the ActionErrorspublic java.lang.String getAction()
public void setAction(java.lang.String action)
action
- the action to setpublic java.lang.String getObjectName()
public void setObjectName(java.lang.String objectName)
objectName
- object name of the Connector MBeanpublic java.lang.String getServiceName()
public void setServiceName(java.lang.String serviceName)
serviceName
- the object name of the service this connector belongs topublic java.lang.String getScheme()
public void setScheme(java.lang.String scheme)
scheme
- the scheme to setpublic java.lang.String getConnectorType()
public void setConnectorType(java.lang.String connectorType)
connectorType
- the Connector type to setpublic java.lang.String getAcceptCountText()
public void setAcceptCountText(java.lang.String acceptCountText)
acceptCountText
- the acceptCount textpublic java.lang.String getConnTimeOutText()
public void setConnTimeOutText(java.lang.String connTimeOutText)
connTimeOutText
- the connTimeOut textpublic java.lang.String getBufferSizeText()
public void setBufferSizeText(java.lang.String bufferSizeText)
bufferSizeText
- the bufferSize to setpublic java.lang.String getAddress()
public void setAddress(java.lang.String address)
address
- the address to setpublic java.lang.String getProxyName()
public void setProxyName(java.lang.String proxyName)
proxyName
- the proxy name to setpublic java.lang.String getProxyPortText()
public void setProxyPortText(java.lang.String proxyPortText)
proxyPortText
- the proxy port number to setpublic boolean isClientAuthentication()
public void setClientAuthentication(boolean clientAuthentication)
clientAuthentication
- the client authentication to set or notpublic java.lang.String getKeyStoreFileName()
public void setKeyStoreFileName(java.lang.String keyStoreFileName)
keyStoreFileName
- the keyStore file name to setpublic java.lang.String getKeyStorePassword()
public void setKeyStorePassword(java.lang.String keyStorePassword)
keyStorePassword
- the keyStore password to setpublic java.util.List getDebugLvlVals()
public void setDebugLvlVals(java.util.List debugLvlVals)
debugLvlVals
- the debug level valuespublic java.lang.String getDebugLvl()
public void setDebugLvl(java.lang.String debugLvl)
debugLvl
- the debug level text to setpublic boolean isEnableLookups()
public void setEnableLookups(boolean enableLookups)
enableLookups
- Enable Lookup Textpublic java.util.List getBooleanVals()
public void setBooleanVals(java.util.List booleanVals)
public java.lang.String getMinSpareThreadsText()
public void setMinSpareThreadsText(java.lang.String minSpareThreadsText)
minSpareThreadsText
- minSpareThreads value to setpublic java.lang.String getMaxSpareThreadsText()
public void setMaxSpareThreadsText(java.lang.String maxSpareThreadsText)
maxSpareThreadsText
- maxSpareThreads value to setpublic java.lang.String getMaxThreadsText()
public void setMaxThreadsText(java.lang.String maxThreadsText)
maxThreadsText
- maxSpareThreads value to setpublic java.lang.String getPortText()
public void setPortText(java.lang.String portText)
portText
- port to setpublic java.lang.String getRedirectPortText()
public void setRedirectPortText(java.lang.String redirectPortText)
redirectPortText
- the redirect port to setpublic java.lang.String getConnectorName()
public void setConnectorName(java.lang.String connectorName)
connectorName
- connector name to setpublic java.util.List getConnectorTypeVals()
public void setConnectorTypeVals(java.util.List connectorTypeVals)
connectorTypeVals
- the connector typespublic java.lang.String getLabel()
public boolean isSave()
public void setSave(boolean save)
save
- set the save actionpublic java.lang.String getMinProcessorsText()
public void setMinProcessorsText(java.lang.String minProcessorsText)
minProcessorsText
- the minProcessorsText to set.public java.lang.String getMaxProcessorsText()
public void setMaxProcessorsText(java.lang.String maxProcessorsText)
maxProcessorsText
- the maxProcessorsText to set.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |