javax.jdo.listener.StoreLifecycleListener - JDO interface
javax.jdo.listener
Interface StoreLifecycleListener
- Superinterfaces:
- InstanceLifecycleListener
This interface is implemented by listeners to be notified of store events.
- Since:
- JDO 2.0
void postStore( InstanceLifecycleEvent event)
Invoked whenever a persistent instance is stored, for example during javax.jdo.PersistenceManager.flush or javax.jdo.Transaction.commit. It is called after the field values have been stored.
- Parameters:
-
event
- the store event.
- Since:
- JDO 2.0
void preStore( InstanceLifecycleEvent event)
Invoked whenever a persistent instance is stored, for example during javax.jdo.PersistenceManager.flush or javax.jdo.Transaction.commit. It is called before the method StoreCallback.jdoPreStore is invoked.
- Parameters:
-
event
- the store event.
- Since:
- JDO 2.0