FileDocCategorySizeDatePackage
ReplicateEventListener.javaAPI DocHibernate 3.2.5584Sun Aug 08 06:24:56 BST 2004org.hibernate.event

ReplicateEventListener.java

//$Id: ReplicateEventListener.java 4185 2004-08-08 11:24:56Z oneovthafew $
package org.hibernate.event;

import org.hibernate.HibernateException;

import java.io.Serializable;

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

    /** Handle the given replicate event.
     *
     * @param event The replicate event to be handled.
     * @throws HibernateException
     */
	public void onReplicate(ReplicateEvent event) throws HibernateException;

}