org.ow2.jonas.tm
Interface Enlistable
public interface Enlistable
enlistConnection
void enlistConnection(Transaction transaction)
throws SystemException
- This method is used by the transaction manager to perform callbacks
on the resource manager when a transaction begins.
- Parameters:
transaction - the transaction that has begun
- Throws:
SystemException - if an exception occurs
delistConnection
void delistConnection(Transaction transaction)
throws SystemException
- Delist Connection from the Transaction.
May be called when Tx is suspended, or when going out of a Stateful bean.
- Parameters:
transaction - the transaction that has begun
- Throws:
SystemException - if an exception occurs
Copyright © 2012 OW2 Consortium. All Rights Reserved.