FileDocCategorySizeDatePackage
EvictEventListener.javaAPI DocHibernate 3.2.5563Sat Sep 11 22:02:54 BST 2004org.hibernate.event

EvictEventListener.java

//$Id: EvictEventListener.java 4533 2004-09-12 03:02:54Z oneovthafew $
package org.hibernate.event;

import org.hibernate.HibernateException;

import java.io.Serializable;

/**
 * Defines the contract for handling of evict events generated from a session.
 *
 * @author Steve Ebersole
 */
public interface EvictEventListener extends Serializable {

    /** 
     * Handle the given evict event.
     *
     * @param event The evict event to be handled.
     * @throws HibernateException
     */
	public void onEvict(EvictEvent event) throws HibernateException;
}