//$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;
}
|