Package org.apache.openjpa.event
Interface DeleteListener
- All Known Subinterfaces:
LifecycleListener
- All Known Implementing Classes:
AbstractLifecycleListener
public interface DeleteListener
Listener for when a persistent instance is deleted.
- Author:
- Steve Kim, Abe White
-
Method Summary
Modifier and TypeMethodDescriptionvoid
afterDelete
(LifecycleEvent event) Invoked after the instance transferred to a deleted state.void
beforeDelete
(LifecycleEvent event) Invoked before the instance transferred to a deleted state.
-
Method Details
-
beforeDelete
Invoked before the instance transferred to a deleted state. -
afterDelete
Invoked after the instance transferred to a deleted state.
-