org.objectweb.jonas_ejb.deployment.api.SessionDesc Class Reference

Inherits org.objectweb.jonas_ejb.deployment.api.BeanDesc.

Inherited by org.objectweb.jonas_ejb.deployment.api.SessionStatefulDesc, and org.objectweb.jonas_ejb.deployment.api.SessionStatelessDesc.

Inheritance diagram for org.objectweb.jonas_ejb.deployment.api.SessionDesc:

Inheritance graph
[legend]
Collaboration diagram for org.objectweb.jonas_ejb.deployment.api.SessionDesc:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 SessionDesc (ClassLoader classLoader, Session ses, AssemblyDescriptor asd, JonasSession jSes, JLinkedList jMDRList, String filename) throws DeploymentDescException
int getTransactionType ()
boolean isBeanManagedTransaction ()
int getSessionTimeout ()
void check () throws DeploymentDescException
String toString ()

Protected Member Functions

void checkTxAttribute (MethodDesc md) throws DeploymentDescException

Detailed Description

Base class to hold meta-information related to a session bean.

Author:
Christophe Ney [cney@batisseurs.com] : Initial developer

Helene Joanin : unsetting transaction attribute set to a default value.

Definition at line 42 of file SessionDesc.java.


Constructor & Destructor Documentation

org.objectweb.jonas_ejb.deployment.api.SessionDesc.SessionDesc ClassLoader  classLoader,
Session  ses,
AssemblyDescriptor  asd,
JonasSession  jSes,
JLinkedList  jMDRList,
String  filename
throws DeploymentDescException
 

constructor: called when the DeploymentDescriptor is read. Currently, called by both GenIC and createContainer.

Definition at line 51 of file SessionDesc.java.


Member Function Documentation

void org.objectweb.jonas_ejb.deployment.api.SessionDesc.check  )  throws DeploymentDescException
 

Check that the bean descriptor is valid

Exceptions:
DeploymentDescException thrown for non-valid bean

Reimplemented from org.objectweb.jonas_ejb.deployment.api.BeanDesc.

Reimplemented in org.objectweb.jonas_ejb.deployment.api.SessionStatelessDesc.

Definition at line 161 of file SessionDesc.java.

References org.objectweb.jonas_ejb.deployment.api.SessionDesc.getTransactionType().

Here is the call graph for this function:

void org.objectweb.jonas_ejb.deployment.api.SessionDesc.checkTxAttribute MethodDesc  md  )  throws DeploymentDescException [protected, virtual]
 

check that trans-attribute is valid for bean

Implements org.objectweb.jonas_ejb.deployment.api.BeanDesc.

Definition at line 91 of file SessionDesc.java.

References org.objectweb.jonas_ejb.deployment.api.BeanDesc.getEjbName(), and org.objectweb.jonas_ejb.deployment.api.SessionDesc.getTransactionType().

Here is the call graph for this function:

int org.objectweb.jonas_ejb.deployment.api.SessionDesc.getSessionTimeout  ) 
 

Get the session timeout value

Definition at line 151 of file SessionDesc.java.

Referenced by org.objectweb.jonas_ejb.container.JSessionFactory.JSessionFactory().

int org.objectweb.jonas_ejb.deployment.api.SessionDesc.getTransactionType  ) 
 

Get session transaction management type.

Returns:
transaction type value within BEAN_TRANSACTION_TYPE,CONTAINER_TRANSACTION_TYPE

Definition at line 137 of file SessionDesc.java.

Referenced by org.objectweb.jonas_ejb.deployment.api.SessionDesc.check(), org.objectweb.jonas_ejb.deployment.api.SessionDesc.checkTxAttribute(), and org.objectweb.jonas_ejb.deployment.api.SessionDesc.toString().

boolean org.objectweb.jonas_ejb.deployment.api.SessionDesc.isBeanManagedTransaction  ) 
 

Returns true if bean managed transaction. (used by JOnAS Server)

Definition at line 144 of file SessionDesc.java.

Referenced by org.objectweb.jonas_ejb.container.JSessionFactory.JSessionFactory().

String org.objectweb.jonas_ejb.deployment.api.SessionDesc.toString  ) 
 

String representation of the object for test purpose

Returns:
String representation of this object

Reimplemented from org.objectweb.jonas_ejb.deployment.api.BeanDesc.

Definition at line 179 of file SessionDesc.java.

References org.objectweb.jonas_ejb.deployment.api.SessionDesc.getTransactionType().

Referenced by org.objectweb.jonas_ws.deployment.api.SSBPortComponentDesc.toString().

Here is the call graph for this function:


The documentation for this class was generated from the following file:
Generated on Tue Feb 15 15:11:26 2005 for JOnAS by  doxygen 1.3.9.1