Class EventLogListener

  • All Implemented Interfaces:
    java.io.Serializable, org.hibernate.event.PostDeleteEventListener, org.hibernate.event.PostInsertEventListener, org.hibernate.event.PostUpdateEventListener

    public class EventLogListener
    extends java.lang.Object
    implements org.hibernate.event.PostUpdateEventListener, org.hibernate.event.PostDeleteEventListener, org.hibernate.event.PostInsertEventListener
    responsible for responding to all Hibernate Events. Delegates tasks to various components. It is assumed that graphs coming to the Hibernate methods which produces these events have already been processed by the UpdateFilter
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected CurrentDetails cd  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void onPostDelete​(org.hibernate.event.PostDeleteEvent event)  
      void onPostInsert​(org.hibernate.event.PostInsertEvent event)  
      void onPostUpdate​(org.hibernate.event.PostUpdateEvent event)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • EventLogListener

        public EventLogListener​(CurrentDetails cd)
        main constructor.
    • Method Detail

      • onPostDelete

        public void onPostDelete​(org.hibernate.event.PostDeleteEvent event)
        Specified by:
        onPostDelete in interface org.hibernate.event.PostDeleteEventListener
      • onPostInsert

        public void onPostInsert​(org.hibernate.event.PostInsertEvent event)
        Specified by:
        onPostInsert in interface org.hibernate.event.PostInsertEventListener
      • onPostUpdate

        public void onPostUpdate​(org.hibernate.event.PostUpdateEvent event)
        Specified by:
        onPostUpdate in interface org.hibernate.event.PostUpdateEventListener