Interface DeleteLifecycleListener
- All Superinterfaces:
InstanceLifecycleListener
This interface is implemented by listeners to be notified of
delete events.
- Since:
- 2.0
- Version:
- 2.0
-
Method Summary
Modifier and TypeMethodDescriptionvoidpostDelete(InstanceLifecycleEvent event) Invoked whenever a persistent instance is deleted, for example duringPersistenceManager.deletePersistent(Object).voidpreDelete(InstanceLifecycleEvent event) Invoked whenever a persistent instance is deleted, for example duringPersistenceManager.deletePersistent(Object).
-
Method Details
-
preDelete
Invoked whenever a persistent instance is deleted, for example duringPersistenceManager.deletePersistent(Object). Access to field values within this call are permitted.This method is called before the instance callback
DeleteCallback.jdoPreDelete().- Parameters:
event- the delete event.- Since:
- 2.0
-
postDelete
Invoked whenever a persistent instance is deleted, for example duringPersistenceManager.deletePersistent(Object).This method is called after the instance transitions to persistent-deleted. Access to field values is not permitted.
- Parameters:
event- the delete event.- Since:
- 2.0
-