org.jboss.ejb
Class TxEntityMap

java.lang.Object
  extended byorg.jboss.ejb.TxEntityMap

Deprecated. this class was useful only for Instance Per Transaction containers and was used to check whether the instance is associated with the tx. There is org.jboss.ejb.plugins.PerTxEntityInstanceCache which is a per tx implementation of org.jboss.ejb.EntityCache which should be used with IPT containers. (alex@jboss.org) This class provides a way to find out what entities of a certain type that are contained in within a transaction. It is attached to a specific instance of a container. This class interfaces with the static GlobalTxEntityMap. EntitySynchronizationInterceptor registers tx/entity pairs through this class. Used in EntitySynchronizationInterceptor.

public class TxEntityMap
extends java.lang.Object


Field Summary
protected  TransactionLocal (src) m_map
          Deprecated.  
 
Constructor Summary
TxEntityMap()
          Deprecated.  
 
Method Summary
 void associate(Transaction (src)  tx, EntityEnterpriseContext (src)  entity)
          Deprecated. associate entity with transaction
 EntityEnterpriseContext (src) getCtx(java.lang.Object key)
          Deprecated.  
 EntityEnterpriseContext (src) getCtx(Transaction (src)  tx, java.lang.Object key)
          Deprecated.  
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_map

protected TransactionLocal (src)  m_map
Deprecated. 
Constructor Detail

TxEntityMap

public TxEntityMap()
Deprecated. 
Method Detail

associate

public void associate(Transaction (src)  tx,
                      EntityEnterpriseContext (src)  entity)
               throws RollbackException (src) ,
                      SystemException (src) 
Deprecated. 
associate entity with transaction

Throws:
RollbackException (src)
SystemException (src)

getCtx

public EntityEnterpriseContext (src)  getCtx(Transaction (src)  tx,
                                      java.lang.Object key)
Deprecated. 

getCtx

public EntityEnterpriseContext (src)  getCtx(java.lang.Object key)
Deprecated.