Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.cayenne.access.event
Interface DataObjectTransactionEventListener

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

    void willCommit(DataContextEvent event)

### didCommit

    void didCommit(DataContextEvent event)

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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