public interface TransactionListenerRegistry
TransactionListenerRegistryLocator| Modifier and Type | Method and Description |
|---|---|
void |
addListener(javax.transaction.Transaction transaction,
TransactionListener listener,
java.util.EnumSet<EventType> types) |
void addListener(javax.transaction.Transaction transaction,
TransactionListener listener,
java.util.EnumSet<EventType> types)
throws TransactionTypeNotSupported
transaction - the transaction that the caller is interested in receiving events for (must not be null)listener - an object that will be invoked when events of type EventType
occurtypes - a collection of events that the listener is interested inTransactionTypeNotSupported - if the passed in transaction type does not support the listeners feature