Package javax.jdo.listener
Interface DirtyLifecycleListener
-
- All Superinterfaces:
InstanceLifecycleListener
public interface DirtyLifecycleListener extends InstanceLifecycleListener
This interface is implemented by listeners to be notified of dirty events.- Since:
- 2.0
- Version:
- 2.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
postDirty(InstanceLifecycleEvent event)
Invoked whenever a persistent instance is first made dirty, during an operation that modifies the value of a persistent or transactional field.void
preDirty(InstanceLifecycleEvent event)
Invoked whenever a persistent instance is first made dirty, during an operation that modifies the value of a persistent or transactional field.
-
-
-
Method Detail
-
preDirty
void preDirty(InstanceLifecycleEvent event)
Invoked whenever a persistent instance is first made dirty, during an operation that modifies the value of a persistent or transactional field. Called before the value is changed.- Parameters:
event
- The lifecycle event- Since:
- 2.0
-
postDirty
void postDirty(InstanceLifecycleEvent event)
Invoked whenever a persistent instance is first made dirty, during an operation that modifies the value of a persistent or transactional field. Called after the value is changed.- Parameters:
event
- The lifecycle event- Since:
- 2.0
-
-