org.objectweb.jonas.webapp.jonasadmin.service.ejb
Class EjbForm
java.lang.Object
org.apache.struts.action.ActionForm
org.objectweb.jonas.webapp.jonasadmin.service.ejb.EjbForm
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- EjbEntityForm, EjbMessageForm, EjbSessionForm
public class EjbForm
- extends org.apache.struts.action.ActionForm
- Author:
- Michel-Ange ANTON
- See Also:
- Serialized Form
Fields inherited from class org.apache.struts.action.ActionForm |
multipartRequestHandler, servlet |
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 |
EjbForm
public EjbForm()
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 instancerequest
- 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 instancerequest
- The servlet request we are processing
- Returns:
- List of errors or null
getFile
public java.lang.String getFile()
getFilename
public java.lang.String getFilename()
getName
public java.lang.String getName()
getObjectName
public java.lang.String getObjectName()
getType
public java.lang.String getType()
setFile
public void setFile(java.lang.String file)
setName
public void setName(java.lang.String name)
setObjectName
public void setObjectName(java.lang.String objectName)
setType
public void setType(java.lang.String type)
getDisplayName
public java.lang.String getDisplayName()
getEjbClass
public java.lang.String getEjbClass()
getEjbName
public java.lang.String getEjbName()
getHomeClass
public java.lang.String getHomeClass()
getJndiName
public java.lang.String getJndiName()
getLocalClass
public java.lang.String getLocalClass()
getLocalHomeClass
public java.lang.String getLocalHomeClass()
getRemoteClass
public java.lang.String getRemoteClass()
setDisplayName
public void setDisplayName(java.lang.String displayName)
setEjbClass
public void setEjbClass(java.lang.String ejbClass)
setEjbName
public void setEjbName(java.lang.String ejbName)
setHomeClass
public void setHomeClass(java.lang.String homeClass)
setJndiName
public void setJndiName(java.lang.String jndiName)
setLocalClass
public void setLocalClass(java.lang.String localClass)
setLocalHomeClass
public void setLocalHomeClass(java.lang.String localHomeClass)
setRemoteClass
public void setRemoteClass(java.lang.String remoteClass)
getEjbFileName
public java.lang.String getEjbFileName()
setEjbFileName
public void setEjbFileName(java.lang.String ejbFileName)
getFullType
public java.lang.String getFullType()
setFullType
public void setFullType(java.lang.String fullType)
getDataSources
public java.util.HashMap getDataSources()
setDataSources
public void setDataSources(java.util.HashMap dataSources)
isDataSource
public boolean isDataSource()
setDataSource
public void setDataSource(boolean dataSource)
isDependency
public boolean isDependency()
setDependency
public void setDependency(boolean dependency)
isJmsConnection
public boolean isJmsConnection()
setJmsConnection
public void setJmsConnection(boolean jmsConnection)
getJmsConnections
public java.util.ArrayList getJmsConnections()
setJmsConnections
public void setJmsConnections(java.util.ArrayList jmsConnections)
isJmsDestination
public boolean isJmsDestination()
setJmsDestination
public void setJmsDestination(boolean jmsDestination)
getJmsDestinations
public java.util.ArrayList getJmsDestinations()
setJmsDestinations
public void setJmsDestinations(java.util.ArrayList jmsDestinations)
getMailSessions
public java.util.HashMap getMailSessions()
setMailSessions
public void setMailSessions(java.util.HashMap mailSessions)
getMailMimes
public java.util.HashMap getMailMimes()
setMailMimes
public void setMailMimes(java.util.HashMap mailMimes)
isMailSession
public boolean isMailSession()
setMailSession
public void setMailSession(boolean mailSession)
isMailMime
public boolean isMailMime()
setMailMime
public void setMailMime(boolean mailMime)
isDatabaseServiceActivated
public boolean isDatabaseServiceActivated()
setDatabaseServiceActivated
public void setDatabaseServiceActivated(boolean databaseServiceActivated)
isJmsServiceActivated
public boolean isJmsServiceActivated()
setJmsServiceActivated
public void setJmsServiceActivated(boolean jmsServiceActivated)
isMailServiceActivated
public boolean isMailServiceActivated()
setMailServiceActivated
public void setMailServiceActivated(boolean mailServiceActivated)
isJoramResourceLoaded
public boolean isJoramResourceLoaded()
- Returns:
- Returns the joramResourceLoaded.
setJoramResourceLoaded
public void setJoramResourceLoaded(boolean joramResourceLoaded)
- Parameters:
joramResourceLoaded
- The joramResourceLoaded to set.
getAction
public java.lang.String getAction()
- Returns:
- Returns the action.
setAction
public void setAction(java.lang.String action)
- Parameters:
action
- The action to set.
numberCheck
protected void numberCheck(org.apache.struts.action.ActionErrors p_Errors,
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. (min, max).
- Parameters:
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 range
error.webapp.setting.sessionTimeout.required
getJmsDestinationsTable
public java.util.Hashtable getJmsDestinationsTable()
- Returns:
- Returns the jmsDestinationsTable.
setJmsDestinationsTable
public void setJmsDestinationsTable(java.util.Hashtable jmsDestinationsTable)
- Parameters:
jmsDestinationsTable
- The jmsDestinationsTable to set.
getCacheSize
public int getCacheSize()
- Returns:
- Returns the cacheSize.
setCacheSize
public void setCacheSize(int cacheSize)
- Parameters:
cacheSize
- The cacheSize to set.
getMaxCacheSize
public int getMaxCacheSize()
- Returns:
- Returns the maxCacheSize.
setMaxCacheSize
public void setMaxCacheSize(int maxCacheSize)
- Parameters:
maxCacheSize
- The maxCacheSize to set.
getMinPoolSize
public int getMinPoolSize()
- Returns:
- Returns the minPoolSize.
setMinPoolSize
public void setMinPoolSize(int minPoolSize)
- Parameters:
minPoolSize
- The minPoolSize to set.
getPoolSize
public int getPoolSize()
- Returns:
- Returns the poolSize.
setPoolSize
public void setPoolSize(int poolSize)
- Parameters:
poolSize
- The poolSize to set.
isResourceServiceActivated
public boolean isResourceServiceActivated()
setResourceServiceActivated
public void setResourceServiceActivated(boolean resourceServiceActivated)
getJdbcRas
public java.util.HashMap getJdbcRas()
setJdbcRas
public void setJdbcRas(java.util.HashMap jdbcRas)