Package org.apache.openjpa.event
Interface PersistListener
- All Known Subinterfaces:
LifecycleListener
- All Known Implementing Classes:
AbstractLifecycleListener
public interface PersistListener
Listener for newly-persisted instances.
- Author:
- Steve Kim
-
Method Summary
Modifier and TypeMethodDescriptionvoid
afterPersist
(LifecycleEvent event) Invoked when an instance is persisted.void
beforePersist
(LifecycleEvent event) Invoked before an instance is persisted.
-
Method Details
-
beforePersist
Invoked before an instance is persisted. -
afterPersist
Invoked when an instance is persisted.
-