Open Source Repository

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


org/hibernate/event/PreCollectionRecreateEvent.java
//$Id: $
package org.hibernate.event;

import org.hibernate.collection.PersistentCollection;
import org.hibernate.persister.collection.CollectionPersister;

/**
 * An event that occurs before a collection is recreated
 *
 @author Gail Badner
 */
public class PreCollectionRecreateEvent extends AbstractCollectionEvent {

  public PreCollectionRecreateEvent(CollectionPersister collectionPersister,
                    PersistentCollection collection,
                    EventSource source) {
    supercollectionPersister, collection, source,
        collection.getOwner(),
        getOwnerIdOrNullcollection.getOwner(), source ) );
  }
}