org.ow2.jonas.deployment.ejb.xml
Class JonasSession

java.lang.Object
  extended by org.ow2.jonas.deployment.common.xml.AbsElement
      extended by org.ow2.jonas.deployment.common.xml.AbsJonasEnvironmentElement
          extended by org.ow2.jonas.deployment.ejb.xml.JonasCommonEjb
              extended by org.ow2.jonas.deployment.ejb.xml.JonasSession
All Implemented Interfaces:
Serializable, Element, JonasJndiEnvRefsGroupXml, JonasCommonEjbXml

public class JonasSession
extends JonasCommonEjb

This class defines the implementation of the element jonas-session

Author:
JOnAS team
See Also:
Serialized Form

Constructor Summary
JonasSession()
          Constructor
 
Method Summary
 String getIsModifiedMethodName()
          Gets the is-modified-method-name
 String getJndiEndpointName()
          Gets the jndi-endpoint-name
 String getMonitoringEnabled()
           
 String getSessionTimeout()
          Gets the session-timeout
 String getSingleton()
          Gets the singleton flag
 String getWarningThreshold()
           
 void setIsModifiedMethodName(String isModifiedMethodName)
          Set the is-modified-method-name
 void setJndiEndpointName(String jndiEndpointName)
          Set the jndi-endpoint-name
 void setMonitoringEnabled(String monitoringEnabled)
           
 void setSessionTimeout(String sessionTimeout)
          Set the session-timeout
 void setSingleton(String singleton)
          Set the singleton flag
 void setWarningThreshold(String warningThreshold)
           
 String toXML(int indent)
          Represents this element by it's XML description.
 
Methods inherited from class org.ow2.jonas.deployment.ejb.xml.JonasCommonEjb
getCluster, getClusterReplicated, getEjbName, getIorSecurityConfig, getJndiLocalName, getJndiName, getMaxCacheSize, getMinPoolSize, getRunAsPrincipalName, setCluster, setClusterReplicated, setEjbName, setIorSecurityConfig, setJndiLocalName, setJndiName, setMaxCacheSize, setMinPoolSize, setRunAsPrincipalName
 
Methods inherited from class org.ow2.jonas.deployment.common.xml.AbsJonasEnvironmentElement
addJonasEjbRef, addJonasMessageDestinationRef, addJonasResource, addJonasResourceEnv, addJonasServiceRef, getJonasEjbRefList, getJonasMessageDestinationRefList, getJonasResourceEnvList, getJonasResourceList, getJonasServiceRefList
 
Methods inherited from class org.ow2.jonas.deployment.common.xml.AbsElement
indent, toString, toXML, xmlAttribute, xmlElement
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.ow2.jonas.deployment.common.xml.JonasJndiEnvRefsGroupXml
getJonasEjbRefList, getJonasMessageDestinationRefList, getJonasResourceEnvList, getJonasResourceList, getJonasServiceRefList
 

Constructor Detail

JonasSession

public JonasSession()
Constructor

Method Detail

getIsModifiedMethodName

public String getIsModifiedMethodName()
Gets the is-modified-method-name

Returns:
the is-modified-method-name

setIsModifiedMethodName

public void setIsModifiedMethodName(String isModifiedMethodName)
Set the is-modified-method-name

Parameters:
isModifiedMethodName - isModifiedMethodName

getSessionTimeout

public String getSessionTimeout()
Gets the session-timeout

Returns:
the session-timeout

setSessionTimeout

public void setSessionTimeout(String sessionTimeout)
Set the session-timeout

Parameters:
sessionTimeout - sessionTimeout

getJndiEndpointName

public String getJndiEndpointName()
Gets the jndi-endpoint-name

Returns:
the jndi-endpoint-name

getSingleton

public String getSingleton()
Gets the singleton flag

Returns:
the singleton flag

setSingleton

public void setSingleton(String singleton)
Set the singleton flag

Parameters:
singleton - the singleton flag

setJndiEndpointName

public void setJndiEndpointName(String jndiEndpointName)
Set the jndi-endpoint-name

Parameters:
jndiEndpointName - jndi-endpoint-name

toXML

public String toXML(int indent)
Represents this element by it's XML description.

Specified by:
toXML in interface Element
Specified by:
toXML in class AbsElement
Parameters:
indent - use this indent for prexifing XML representation.
Returns:
the XML description of this object.

getMonitoringEnabled

public String getMonitoringEnabled()

setMonitoringEnabled

public void setMonitoringEnabled(String monitoringEnabled)

getWarningThreshold

public String getWarningThreshold()

setWarningThreshold

public void setWarningThreshold(String warningThreshold)


Copyright © 2010 OW2 Consortium. All Rights Reserved.