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 ;7 8 /**9 * Defines the contract for handling of evict events generated from a session.10 *11 * @author Steve Ebersole12 */13 public interface EvictEventListener extends Serializable {14 15 /** 16 * Handle the given evict event.17 *18 * @param event The evict event to be handled.19 * @throws HibernateException20 */21 public void onEvict(EvictEvent event) throws HibernateException;22 }23