Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.objectstyle.cayenne.access.event
Interface DataObjectTransactionEventListener  view DataObjectTransactionEventListener download DataObjectTransactionEventListener.java

All Superinterfaces:
java.util.EventListener

public interface DataObjectTransactionEventListener
extends java.util.EventListener

This interface declares methods that DataObject classes can implement to be notified about transactions of their DataContext. Note: explicit registration with EventManager is not necessary, since the events are simply forwarded by ContextCommitObserver; stricly speaking these methods are just regular 'callbacks'. The event argument is passed along for convenience.


Method Summary
 void didCommit(DataContextEvent event)
           
 void willCommit(DataContextEvent event)
           
 

Method Detail

willCommit

public void willCommit(DataContextEvent event)

didCommit

public void didCommit(DataContextEvent event)