public interface TransactionListenerRegistry
TransactionListenerRegistryLocator
Modifier and Type | Method and Description |
---|---|
void |
addListener(Transaction transaction,
TransactionListener listener,
EnumSet<EventType> types) |
void addListener(Transaction transaction, TransactionListener listener, 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 featureCopyright © 2022 JBoss by Red Hat. All rights reserved.