org.objectweb.transaction.api
Interface ResourceManagerEvent
- public interface ResourceManagerEvent
This interface has been introduced to allow late enrolment of connections
that are opened in the thread before the transaction starts.
Resource Managers that supports this feature may send events implementing this
interface to a registered ResourceManagerEventListener.
- Author:
- Christophe Ney cney@batisseurs.com for Lutris Technologies
Method Summary |
void |
enlistConnection(Transaction transaction)
This method is used by the transaction manager to perform callbacks on the
resource manager when a transaction begins. |
enlistConnection
public 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 started
- Throws:
SQLException
RollbackException
SystemException