@Retention(value=RUNTIME) @Target(value=METHOD) @Documented public @interface OnDelete
Notifications are delivered in the same thread that deletes the object, before the delete actually occurs. At most one delete notification will ever be delivered for any object deletion event.
The annotated method must be an instance method (i.e., not static), return void, and take zero parameters.
It may have any level of access, including private.
| Modifier and Type | Optional Element and Description |
|---|---|
boolean |
snapshotTransactions
Determines whether this annotation should also be enabled for
snapshot transaction objects.
|
public abstract boolean snapshotTransactions
SnapshotJTransactionCopyright © 2017. All rights reserved.