Package org.apache.openjpa.event
Interface DirtyListener
- All Known Subinterfaces:
LifecycleListener
- All Known Implementing Classes:
AbstractLifecycleListener
public interface DirtyListener
Listener for when a persistent instance becomes dirty.
- Author:
- Steve Kim, Abe White
-
Method Summary
Modifier and TypeMethodDescriptionvoid
afterDirty
(LifecycleEvent event) Invoked after the first change is applied.void
afterDirtyFlushed
(LifecycleEvent event) Invoked after the first change is applied to a flushed instance.void
beforeDirty
(LifecycleEvent event) Invoked before the first change is applied.void
beforeDirtyFlushed
(LifecycleEvent event) Invoked before the first change is applied to a flushed instance.
-
Method Details
-
beforeDirty
Invoked before the first change is applied. -
afterDirty
Invoked after the first change is applied. -
beforeDirtyFlushed
Invoked before the first change is applied to a flushed instance. -
afterDirtyFlushed
Invoked after the first change is applied to a flushed instance.
-