org.objectweb.jonas_ejb.deployment.xml
Class JonasSession

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

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 getIsModifiedMethodName()
          Gets the is-modified-method-name
 java.lang.String getJndiEndpointName()
          Gets the jndi-endpoint-name
 java.lang.String getSessionTimeout()
          Gets the session-timeout
 java.lang.String getSingleton()
          Gets the singleton flag
 void setIsModifiedMethodName(java.lang.String isModifiedMethodName)
          Set the is-modified-method-name
 void setJndiEndpointName(java.lang.String jndiEndpointName)
          Set the jndi-endpoint-name
 void setSessionTimeout(java.lang.String sessionTimeout)
          Set the session-timeout
 void setSingleton(java.lang.String singleton)
          Set the singleton flag
 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
getClusterHomeDistributor, getClusterRemoteDistributor, getClusterReplicated, getEjbName, getIorSecurityConfig, getJndiLocalName, getJndiName, getMaxCacheSize, getMinPoolSize, getRunAsPrincipalName, setClusterHomeDistributor, setClusterRemoteDistributor, setClusterReplicated, setEjbName, setIorSecurityConfig, setJndiLocalName, setJndiName, setMaxCacheSize, setMinPoolSize, setRunAsPrincipalName
 
Methods inherited from class org.objectweb.jonas_lib.deployment.xml.AbsJonasEnvironmentElement
addJonasEjbRef, addJonasMessageDestinationRef, addJonasResource, addJonasResourceEnv, addJonasServiceRef, getJonasEjbRefList, getJonasMessageDestinationRefList, 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, getJonasMessageDestinationRefList, getJonasResourceEnvList, getJonasResourceList, getJonasServiceRefList
 

Constructor Detail

JonasSession

public JonasSession()
Constructor

Method Detail

getIsModifiedMethodName

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

Returns:
the is-modified-method-name

setIsModifiedMethodName

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

Parameters:
isModifiedMethodName - isModifiedMethodName

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

getJndiEndpointName

public java.lang.String getJndiEndpointName()
Gets the jndi-endpoint-name

Returns:
the jndi-endpoint-name

getSingleton

public java.lang.String getSingleton()
Gets the singleton flag

Returns:
the singleton flag

setSingleton

public void setSingleton(java.lang.String singleton)
Set the singleton flag

Parameters:
singleton - the singleton flag

setJndiEndpointName

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

Parameters:
jndiEndpointName - jndi-endpoint-name

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.