Interface ReactiveDeleteEventListener

  • All Superinterfaces:
    java.io.Serializable
    All Known Implementing Classes:
    DefaultReactiveDeleteEventListener

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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.util.concurrent.CompletionStage<java.lang.Void> reactiveOnDelete​(org.hibernate.event.spi.DeleteEvent event)
      Handle the given delete event.
      java.util.concurrent.CompletionStage<java.lang.Void> reactiveOnDelete​(org.hibernate.event.spi.DeleteEvent event, org.hibernate.event.spi.DeleteContext transientEntities)  
    • Method Detail

      • reactiveOnDelete

        java.util.concurrent.CompletionStage<java.lang.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

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