FileDocCategorySizeDatePackage
RefreshEventListener.javaAPI DocHibernate 3.2.5694Thu Jul 14 22:35:18 BST 2005org.hibernate.event

RefreshEventListener.java

//$Id: RefreshEventListener.java 7485 2005-07-15 03:35:18Z oneovthafew $
package org.hibernate.event;

import org.hibernate.HibernateException;

import java.io.Serializable;
import java.util.Map;

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

    /** 
     * Handle the given refresh event.
     *
     * @param event The refresh event to be handled.
     * @throws HibernateException
     */
	public void onRefresh(RefreshEvent event) throws HibernateException;
	
	public void onRefresh(RefreshEvent event, Map refreshedAlready) throws HibernateException;

}