KickJava   Java API By Example, From Geeks To Geeks.

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


1 //$Id: EvictEventListener.java,v 1.3 2004/09/12 03:02:53 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 evict events generated from a session.
10  *
11  * @author Steve Ebersole
12  */

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

21     public void onEvict(EvictEvent event) throws HibernateException;
22 }
23
Popular Tags