org.ow2.jonas.lib.ejb21
Class RequestCtx

java.lang.Object
  extended by org.ow2.jonas.lib.ejb21.RequestCtx

public class RequestCtx
extends Object

Context associated to a request to a bean.

Author:
Philippe Coq, Philippe Durieux

Field Summary
 boolean bmcalled
          ejb business method has been called
 Transaction clientTx
          Tx to be resumed at postInvoke
 ClassLoader cloader
          saved class loader to be resumed at postInvoke
 Transaction currTx
          transaction in which the request will execute
 JSessionContext ejbContext
          Used for stateful session at create and for stateless session beans
 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
 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 Throwable sysExc
system exception or error raised in business method


clientTx

public Transaction clientTx
Tx to be resumed at postInvoke


jndiCtx

public Context jndiCtx
saved JNDICtx to be resumed at postInvoke


cloader

public ClassLoader cloader
saved class loader to be resumed at postInvoke


currTx

public 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.


Copyright © 2010 OW2 Consortium. All Rights Reserved.