org.ow2.jonas.tm
Interface Enlistable

All Known Implementing Classes:
JManagedConnection, JResourceManagerEvent

public interface Enlistable


Method Summary
 void delistConnection(Transaction transaction)
          Delist Connection from the Transaction.
 void enlistConnection(Transaction transaction)
          This method is used by the transaction manager to perform callbacks on the resource manager when a transaction begins.
 

Method Detail

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 © 2010 OW2 Consortium. All Rights Reserved.