org.objectweb.transaction.jta

Interface ResourceManagerEvent

public interface ResourceManagerEvent

A ResourceManagerEvent allows 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.

Method Details

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 begun