KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > hibernate > event > DirtyCheckEventListener


1 //$Id: DirtyCheckEventListener.java,v 1.2 2004/08/08 11:24:54 oneovthafew Exp $
2
package org.hibernate.event;
3
4 import org.hibernate.HibernateException;
5
6 import java.io.Serializable JavaDoc;
7
8 /**
9  * Defines the contract for handling of session dirty-check events.
10  *
11  * @author Steve Ebersole
12  */

13 public interface DirtyCheckEventListener extends Serializable JavaDoc {
14
15     /** Handle the given dirty-check event.
16      *
17      * @param event The dirty-check event to be handled.
18      * @throws HibernateException
19      */

20     public boolean onDirtyCheck(DirtyCheckEvent event) throws HibernateException;
21
22 }
23
Popular Tags