Implements JPA-compliant "PrePersist", "PreRemove" callbacks for the ObjectContext operations.
Depending on how callbacks are registered, they are invoked either on the persistent object instances themselves or on an instance of an arbitrary listener class. Signature of a method of a persistent object is
"void method()"
, while for a non-persistent listener it is
"void method(Object)"
.
@since 3.0
@author Andrus Adamchik