Interface ReactiveDeleteEventListener

All Superinterfaces:
Serializable
All Known Implementing Classes:
DefaultReactiveDeleteEventListener

public interface ReactiveDeleteEventListener extends Serializable
Defines the contract for handling of deletion events generated from a session.
  • Method Summary

    Modifier and Type
    Method
    Description
    reactiveOnDelete(org.hibernate.event.spi.DeleteEvent event)
    Handle the given delete event.
    reactiveOnDelete(org.hibernate.event.spi.DeleteEvent event, org.hibernate.event.spi.DeleteContext transientEntities)
     
  • Method Details

    • reactiveOnDelete

      CompletionStage<Void> reactiveOnDelete(org.hibernate.event.spi.DeleteEvent event) throws org.hibernate.HibernateException
      Handle the given delete event.
      Parameters:
      event - The delete event to be handled.
      Throws:
      org.hibernate.HibernateException
    • reactiveOnDelete

      CompletionStage<Void> reactiveOnDelete(org.hibernate.event.spi.DeleteEvent event, org.hibernate.event.spi.DeleteContext transientEntities) throws org.hibernate.HibernateException
      Throws:
      org.hibernate.HibernateException