Package org.apache.openjpa.event
Interface UpdateListener
-
public interface UpdateListener
- Since:
- 1.1.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
afterUpdatePerformed(LifecycleEvent event)
Receives notifications before an update is performed.void
beforeUpdate(LifecycleEvent event)
Receives notifications before an update is performed.
-
-
-
Method Detail
-
beforeUpdate
void beforeUpdate(LifecycleEvent event)
Receives notifications before an update is performed. Differs fromStoreListener.beforeStore(org.apache.openjpa.event.LifecycleEvent)
in that the latter is called for updated and new records, whereas this is only invoked for updated records.
-
afterUpdatePerformed
void afterUpdatePerformed(LifecycleEvent event)
Receives notifications before an update is performed. Differs fromStoreListener.afterStore(org.apache.openjpa.event.LifecycleEvent)
in that the latter is called for updated and new records, whereas this is only invoked for updated records, and that this is called after the record is actually flushed to the store.
-
-