org.apache.openjpa.event
Interface PersistListener

All Known Subinterfaces:
LifecycleListener
All Known Implementing Classes:
AbstractLifecycleListener

public interface PersistListener

Listener for newly-persisted instances.

Author:
Steve Kim

Method Summary
 void afterPersist(LifecycleEvent event)
          Invoked when an instance is persisted.
 void beforePersist(LifecycleEvent event)
          Invoked before an instance is persisted.
 

Method Detail

beforePersist

void beforePersist(LifecycleEvent event)
Invoked before an instance is persisted.


afterPersist

void afterPersist(LifecycleEvent event)
Invoked when an instance is persisted.



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