Package javax.jdo.listener
Interface StoreLifecycleListener
- All Superinterfaces:
InstanceLifecycleListener
This interface is implemented by listeners to be notified of
store events.
- Since:
- 2.0
- Version:
- 2.0
-
Method Summary
Modifier and TypeMethodDescriptionvoid
postStore
(InstanceLifecycleEvent event) Invoked whenever a persistent instance is stored, for example duringPersistenceManager.flush()
orTransaction.commit()
.void
preStore
(InstanceLifecycleEvent event) Invoked whenever a persistent instance is stored, for example duringPersistenceManager.flush()
orTransaction.commit()
.
-
Method Details
-
preStore
Invoked whenever a persistent instance is stored, for example duringPersistenceManager.flush()
orTransaction.commit()
. It is called before the methodStoreCallback.jdoPreStore()
is invoked.- Parameters:
event
- the store event.- Since:
- 2.0
-
postStore
Invoked whenever a persistent instance is stored, for example duringPersistenceManager.flush()
orTransaction.commit()
. It is called after the field values have been stored.- Parameters:
event
- the store event.- Since:
- 2.0
-