Package ome.security.basic
Class EventLogListener
- java.lang.Object
-
- ome.security.basic.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.PostInsertEventListenerresponsible 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 theUpdateFilter- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected CurrentDetailscd
-
Constructor Summary
Constructors Constructor Description EventLogListener(CurrentDetails cd)main constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidonPostDelete(org.hibernate.event.PostDeleteEvent event)voidonPostInsert(org.hibernate.event.PostInsertEvent event)voidonPostUpdate(org.hibernate.event.PostUpdateEvent event)
-
-
-
Field Detail
-
cd
protected final CurrentDetails cd
-
-
Constructor Detail
-
EventLogListener
public EventLogListener(CurrentDetails cd)
main constructor.
-
-
Method Detail
-
onPostDelete
public void onPostDelete(org.hibernate.event.PostDeleteEvent event)
- Specified by:
onPostDeletein interfaceorg.hibernate.event.PostDeleteEventListener
-
onPostInsert
public void onPostInsert(org.hibernate.event.PostInsertEvent event)
- Specified by:
onPostInsertin interfaceorg.hibernate.event.PostInsertEventListener
-
onPostUpdate
public void onPostUpdate(org.hibernate.event.PostUpdateEvent event)
- Specified by:
onPostUpdatein interfaceorg.hibernate.event.PostUpdateEventListener
-
-