org.jboss.ejb
Class TxEntityMap
java.lang.Object
|
+--org.jboss.ejb.TxEntityMap
- public class TxEntityMap
- extends java.lang.Object
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.
- Version:
- $Revision: 1.1.2.1 $
Revisions:
Revisions:
2001/08/06: billb
- Got rid of disassociate and added a javax.transaction.Synchronization. The sync will clean up the map now.
- This class now interacts with GlobalTxEntityMap available.
- Author:
- Bill Burke
Field Summary |
protected java.util.HashMap |
m_map
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
m_map
protected java.util.HashMap m_map
TxEntityMap
public TxEntityMap()
associate
public void associate(javax.transaction.Transaction tx,
EntityEnterpriseContext entity)
throws javax.transaction.RollbackException,
javax.transaction.SystemException
- associate entity with transaction
getCtx
public EntityEnterpriseContext getCtx(javax.transaction.Transaction tx,
CacheKey key)
Copyright © 2000 The JBoss Organization. All Rights Reserved.