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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
afterPersist(LifecycleEvent event)
Invoked when an instance is persisted.void
beforePersist(LifecycleEvent event)
Invoked before an instance is persisted.
-
-
-
Method Detail
-
beforePersist
void beforePersist(LifecycleEvent event)
Invoked before an instance is persisted.
-
afterPersist
void afterPersist(LifecycleEvent event)
Invoked when an instance is persisted.
-
-