org.apache.cayenne.access.event
Interface DataContextTransactionEventListener

All Superinterfaces:
java.util.EventListener
All Known Implementing Classes:
ContextCommitObserver

public interface DataContextTransactionEventListener
extends java.util.EventListener

This interface declares callback methods that subscribers to DataContext events can implement to be notified about transactions.


Method Summary
 void dataContextDidCommit(DataContextEvent event)
           
 void dataContextDidRollback(DataContextEvent event)
           
 void dataContextWillCommit(DataContextEvent event)
           
 

Method Detail

dataContextWillCommit

void dataContextWillCommit(DataContextEvent event)

dataContextDidCommit

void dataContextDidCommit(DataContextEvent event)

dataContextDidRollback

void dataContextDidRollback(DataContextEvent event)


Copyright © 2001-2006 Apache.org All Rights Reserved.