|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | ||||||||
@Target(value=METHOD) @Retention(value=RUNTIME) @Documented public @interface Remove
Marks a method as a listener for entities that were removed by a client. This is different than the JPA entity listeners since the annotated method will only be invoked if the entity removal was initiated by the client. The listener method must have a single method parameter of a persistent entity type. It may throw Exception in which case the transaction will be rolled back.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | ||||||||