org.objectweb.jonas_jms.JSession Class Reference

Inherited by org.objectweb.jonas_jms.JQueueSession, and org.objectweb.jonas_jms.JTopicSession.

Inheritance diagram for org.objectweb.jonas_jms.JSession:

Inheritance graph
[legend]
Collaboration diagram for org.objectweb.jonas_jms.JSession:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 JSession (JConnection jconn, XAConnection xac)
void beforeCompletion ()
void afterCompletion (int status)

Protected Member Functions

 JSession (JConnection jconn)
XAResource getXAResource ()
Session getMOMSession () throws JMSException

Detailed Description

JSession
Author:
Laurent Chauvirey, Frederic Maistre, Nicolas Tachker Contributor(s): Philippe Durieux Philippe Coq

Definition at line 68 of file JSession.java.


Constructor & Destructor Documentation

org.objectweb.jonas_jms.JSession.JSession JConnection  jconn  )  [protected]
 

Prepares the construction of a JSession.

Parameters:
jconn 

Definition at line 85 of file JSession.java.

org.objectweb.jonas_jms.JSession.JSession JConnection  jconn,
XAConnection  xac
 

Constructor

Definition at line 95 of file JSession.java.

References org.objectweb.jonas_jms.JConnection.xac.


Member Function Documentation

void org.objectweb.jonas_jms.JSession.afterCompletion int  status  ) 
 

called by the transaction manager after the transaction is committed or rolled back.

Definition at line 484 of file JSession.java.

void org.objectweb.jonas_jms.JSession.beforeCompletion  ) 
 

called by the transaction manager prior to the start of the transaction completion process

Definition at line 473 of file JSession.java.

Session org.objectweb.jonas_jms.JSession.getMOMSession  )  throws JMSException [protected]
 

Get the underlaying MOM Session.

Returns:
- session

Reimplemented in org.objectweb.jonas_jms.JQueueSession, and org.objectweb.jonas_jms.JTopicSession.

Definition at line 117 of file JSession.java.

References org.objectweb.jonas_jms.JConnection.createSession(), and org.objectweb.jonas_jms.JConnection.sessionOpen().

Here is the call graph for this function:

XAResource org.objectweb.jonas_jms.JSession.getXAResource  )  [protected]
 

Get the underlaying XAResource.

Returns:
- XAResource

Definition at line 109 of file JSession.java.


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