org.apache.openjpa.event
Interface DirtyListener

All Known Subinterfaces:
LifecycleListener
All Known Implementing Classes:
AbstractLifecycleListener

public interface DirtyListener

Listener for when a persistent instance becomes dirty.

Author:
Steve Kim, Abe White

Method Summary
 void afterDirty(LifecycleEvent event)
          Invoked after the first change is applied.
 void afterDirtyFlushed(LifecycleEvent event)
          Invoked after the first change is applied to a flushed instance.
 void beforeDirty(LifecycleEvent event)
          Invoked before the first change is applied.
 void beforeDirtyFlushed(LifecycleEvent event)
          Invoked before the first change is applied to a flushed instance.
 

Method Detail

beforeDirty

void beforeDirty(LifecycleEvent event)
Invoked before the first change is applied.


afterDirty

void afterDirty(LifecycleEvent event)
Invoked after the first change is applied.


beforeDirtyFlushed

void beforeDirtyFlushed(LifecycleEvent event)
Invoked before the first change is applied to a flushed instance.


afterDirtyFlushed

void afterDirtyFlushed(LifecycleEvent event)
Invoked after the first change is applied to a flushed instance.



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