org.objectweb.jonas_ejb.container
Class RequestCtx

java.lang.Object
  extended byorg.objectweb.jonas_ejb.container.RequestCtx

public class RequestCtx
extends java.lang.Object

Context associated to a request to a bean.

Author:
Philippe Coq, Philippe Durieux

Field Summary
 javax.transaction.Transaction clientTx
          Tx to be resumed at postInvoke
 java.lang.ClassLoader cloader
          saved class loader to be resumed at postInvoke
 javax.transaction.Transaction currTx
          transaction in which the request will execute
 javax.ejb.EJBContext ejbContext
          Used at least for stateful session at create.
 javax.naming.Context jndiCtx
          saved JNDICtx to be resumed at postInvoke
 boolean mustCommit
          must commit current Tx at postInvoke
 java.lang.Throwable sysExc
          system exception or error raised in business method
 int txAttr
          Transaction Attribute
 
Constructor Summary
RequestCtx(int txa)
          constructor.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

mustCommit

public boolean mustCommit
must commit current Tx at postInvoke


sysExc

public java.lang.Throwable sysExc
system exception or error raised in business method


clientTx

public javax.transaction.Transaction clientTx
Tx to be resumed at postInvoke


jndiCtx

public javax.naming.Context jndiCtx
saved JNDICtx to be resumed at postInvoke


cloader

public java.lang.ClassLoader cloader
saved class loader to be resumed at postInvoke


currTx

public javax.transaction.Transaction currTx
transaction in which the request will execute


ejbContext

public javax.ejb.EJBContext ejbContext
Used at least for stateful session at create.


txAttr

public int txAttr
Transaction Attribute

Constructor Detail

RequestCtx

public RequestCtx(int txa)
constructor. Called at preInvoke.

Parameters:
txa - Transaction Attribute.