public abstract static class Transaction.ObjectNotifier extends java.lang.Object
This notifier is used to access all locked objects in a transaction. The abstract method is called once for each locked object in a transaction.
The ObjectNotifier is executed using the ObjectServices::runObjectNotifier static method.
Typically, the ObjectNotifier is used in conjunction with the TransactionNotifier to process objects at prepare or commit time.
Note: the notifier will not be invoked for objects created and deleted in the current transaction.
Constructor and Description |
---|
ObjectNotifier() |
Modifier and Type | Method and Description |
---|---|
protected abstract void |
inTransaction(java.lang.Object obj)
Called for each object locked in a transaction.
|
public ObjectNotifier()
protected abstract void inTransaction(java.lang.Object obj)
Will not be invoked for objects created and deleted in the current transaction.
obj
- Object locked in transaction.