KickJava   Java API By Example, From Geeks To Geeks.

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


1 //$Id: SaveOrUpdateEventListener.java,v 1.1 2004/09/04 11:37:51 oneovthafew Exp $
2
package org.hibernate.event;
3
4 import java.io.Serializable JavaDoc;
5
6 import org.hibernate.HibernateException;
7
8 /**
9  * Defines the contract for handling of update events generated from a session.
10  *
11  * @author Steve Ebersole
12  */

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

21     public Serializable JavaDoc onSaveOrUpdate(SaveOrUpdateEvent event) throws HibernateException;
22
23 }
24
Popular Tags