org.objectweb.jonas_ejb.deployment.xml
Class JonasSession

java.lang.Object
  extended byorg.objectweb.jonas_lib.deployment.xml.AbsElement
      extended byorg.objectweb.jonas_lib.deployment.xml.AbsJonasEnvironmentElement
          extended byorg.objectweb.jonas_ejb.deployment.xml.JonasCommonEjb
              extended byorg.objectweb.jonas_ejb.deployment.xml.JonasSession
All Implemented Interfaces:
Element, JonasCommonEjbXml, JonasJndiEnvRefsGroupXml, java.io.Serializable

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
 java.lang.String getSessionTimeout()
          Gets the session-timeout
 void setSessionTimeout(java.lang.String sessionTimeout)
          Set the session-timeout
 java.lang.String toXML(int indent)
          Represents this element by it's XML description.
 
Methods inherited from class org.objectweb.jonas_ejb.deployment.xml.JonasCommonEjb
getEjbName, getJndiLocalName, getJndiName, getMaxCacheSize, getMinPoolSize, setEjbName, setJndiLocalName, setJndiName, setMaxCacheSize, setMinPoolSize
 
Methods inherited from class org.objectweb.jonas_lib.deployment.xml.AbsJonasEnvironmentElement
addJonasEjbRef, addJonasResource, addJonasResourceEnv, addJonasServiceRef, getJonasEjbRefList, getJonasResourceEnvList, getJonasResourceList, getJonasServiceRefList
 
Methods inherited from class org.objectweb.jonas_lib.deployment.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.objectweb.jonas_lib.deployment.xml.JonasJndiEnvRefsGroupXml
getJonasEjbRefList, getJonasResourceEnvList, getJonasResourceList, getJonasServiceRefList
 

Constructor Detail

JonasSession

public JonasSession()
Constructor

Method Detail

getSessionTimeout

public java.lang.String getSessionTimeout()
Gets the session-timeout

Returns:
the session-timeout

setSessionTimeout

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

Parameters:
sessionTimeout - sessionTimeout

toXML

public java.lang.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.