Annotation Type Persist

public @interface Persist

Marks a method as a listener for entities that were persisted by a client. This is different than the JPA entity listeners since the annotated method will only be invoked if the persisting 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.

Jens Halm