org.ow2.jonas.webapp.jonasadmin.service.ejb
Class EjbForm
java.lang.Object
org.apache.struts.action.ActionForm
org.ow2.jonas.webapp.jonasadmin.service.ejb.EjbForm
- All Implemented Interfaces:
- 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()
isWritable
public boolean isWritable()
true
if any attribute is writable.
- Returns:
setWritable
public void setWritable(boolean writable)
- Parameters:
writable
- the writable to set
getAttributes
public List<J2EEMBeanAttributeInfo> getAttributes()
- Returns:
- the attributes
setAttributes
public void setAttributes(J2EEMBeanAttributeInfo[] attributes)
- Parameters:
attributes
- the attributes to set
getNamingAttributes
public List<J2EEMBeanAttributeInfo> getNamingAttributes()
- Returns:
- the namingAttributes.
setNamingAttributes
public void setNamingAttributes(J2EEMBeanAttributeInfo[] namingAttributes)
- Parameters:
namingAttributes
- the namingAttributes to set.
setMonitoringAttributes
public void setMonitoringAttributes(J2EEMBeanAttributeInfo[] monitoringAttributes)
- Parameters:
monitoringAttributes
- the namingAttributes to set.
setNamingAttributes
public void setNamingAttributes(List<J2EEMBeanAttributeInfo> namingAttributes)
- Parameters:
namingAttributes
- the namingAttributes to set.
setMonitoringAttributes
public void setMonitoringAttributes(List<J2EEMBeanAttributeInfo> monitoringAttributes)
- Parameters:
monitoringAttributes
- the namingAttributes to set.
getMonitoringAttributes
public List<J2EEMBeanAttributeInfo> getMonitoringAttributes()
- Returns:
- the monitoringAttributes
getGeneralAttributes
public List<J2EEMBeanAttributeInfo> getGeneralAttributes()
- Returns:
- the generalAttributes
setGeneralAttributes
public void setGeneralAttributes(List<J2EEMBeanAttributeInfo> generalAttributes)
- Parameters:
generalAttributes
- the generalAttributes to set
reset
public void reset(org.apache.struts.action.ActionMapping mapping,
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,
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 String getFile()
getFilename
public String getFilename()
getName
public String getName()
getObjectName
public String getObjectName()
getType
public String getType()
setFile
public void setFile(String file)
setName
public void setName(String name)
setObjectName
public void setObjectName(String objectName)
setType
public void setType(String type)
getDisplayName
public String getDisplayName()
getEjbClass
public String getEjbClass()
getEjbName
public String getEjbName()
getHomeClass
public String getHomeClass()
getJndiName
public String getJndiName()
getLocalClass
public String getLocalClass()
getLocalHomeClass
public String getLocalHomeClass()
getRemoteClass
public String getRemoteClass()
setDisplayName
public void setDisplayName(String displayName)
setEjbClass
public void setEjbClass(String ejbClass)
setEjbName
public void setEjbName(String ejbName)
setHomeClass
public void setHomeClass(String homeClass)
setJndiName
public void setJndiName(String jndiName)
setLocalClass
public void setLocalClass(String localClass)
setLocalHomeClass
public void setLocalHomeClass(String localHomeClass)
setRemoteClass
public void setRemoteClass(String remoteClass)
getEjbFileName
public String getEjbFileName()
setEjbFileName
public void setEjbFileName(String ejbFileName)
getFullType
public String getFullType()
setFullType
public void setFullType(String fullType)
getDataSources
public HashMap getDataSources()
setDataSources
public void setDataSources(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 ArrayList getJmsConnections()
setJmsConnections
public void setJmsConnections(ArrayList jmsConnections)
isJmsDestination
public boolean isJmsDestination()
setJmsDestination
public void setJmsDestination(boolean jmsDestination)
getJmsDestinations
public ArrayList getJmsDestinations()
setJmsDestinations
public void setJmsDestinations(ArrayList jmsDestinations)
getMailSessions
public HashMap getMailSessions()
setMailSessions
public void setMailSessions(HashMap mailSessions)
getMailMimes
public HashMap getMailMimes()
setMailMimes
public void setMailMimes(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 String getAction()
- Returns:
- Returns the action.
setAction
public void setAction(String action)
- Parameters:
action
- The action to set.
numberCheck
protected void numberCheck(org.apache.struts.action.ActionErrors p_Errors,
String field,
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 Hashtable getJmsDestinationsTable()
- Returns:
- Returns the jmsDestinationsTable.
setJmsDestinationsTable
public void setJmsDestinationsTable(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 HashMap getJdbcRas()
setJdbcRas
public void setJdbcRas(HashMap jdbcRas)
isEjb3
public boolean isEjb3()
setEjb3
public void setEjb3(boolean ejb3)
getBooleanValues
public List getBooleanValues()
- Get boolean values.
- Returns:
- boolean values.
Copyright © 2010 OW2 Consortium. All Rights Reserved.