Open Source Repository

Home /hibernate/hibernate-3.2.7.ga | Repository Home



org/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 eventthrows HibernateException;
}