|
IBM WebSphereTM eXtreme Scale, Release 8.6 API Specification |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Target(value=METHOD) @Retention(value=RUNTIME) public @interface PostInvalidate
Identifies the post-invalidate callback method which is invoked for an entity after the entity has been invalidated, which includes entities that have been invalidated due to a cascading operation. This method is run on the thread of the EntityManager.invalidate operation.
This annotation may be applied to an entity class method with the signature:
void <METHOD>()
or an entity listener class method with the signature:
void <METHOD>(Object).
The Object argument is the entity instance that the callback method is invoked. It may optionally be declared as the actual entity type. The callback method must not be static or final.
If this callback method throws an unchecked/runtime exception, then any transaction in which this callback is included will be rolled-back.
EntityListeners
|
IBM WebSphereTM eXtreme Scale, Release 8.6 API Specification |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |