org.objectweb.jonas_ejb.container
Class RequestCtx

java.lang.Object
  extended by org.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
 boolean bmcalled
          ejb business method has been called
 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
 JSessionContext ejbContext
          Used for stateful session at create and for stateless session beans
 javax.naming.Context jndiCtx
          saved JNDICtx to be resumed at postInvoke
 boolean mustCommit
          must commit current Tx at postInvoke
 byte[] state
          Holds the state of the SFSB before calling the method (in preinvoke) COMPLETE Added for the replication mechanishm in HA service
 java.lang.Throwable sysExc
          system exception or error raised in business method
 int txAttr
          Transaction Attribute
 
Constructor Summary
RequestCtx(int txa)
          constructor.
 
Method Summary
 
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 JSessionContext ejbContext
Used for stateful session at create and for stateless session beans


bmcalled

public boolean bmcalled
ejb business method has been called


txAttr

public int txAttr
Transaction Attribute


state

public byte[] state
Holds the state of the SFSB before calling the method (in preinvoke) COMPLETE Added for the replication mechanishm in HA service

Constructor Detail

RequestCtx

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

Parameters:
txa - Transaction Attribute.