org.apache.openjpa.event
Interface UpdateListener

All Known Implementing Classes:
PersistenceListenerAdapter

public interface UpdateListener

Since:
1.1.0

Method Summary
 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 from StoreListener.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 from StoreListener.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.



Copyright © 2006-2010 Apache Software Foundation. All Rights Reserved.