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.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 theUpdateFilter
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected CurrentDetails
cd
-
Constructor Summary
Constructors Constructor Description EventLogListener(CurrentDetails cd)
main constructor.
-
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)
-
-
-
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:
onPostDelete
in interfaceorg.hibernate.event.PostDeleteEventListener
-
onPostInsert
public void onPostInsert(org.hibernate.event.PostInsertEvent event)
- Specified by:
onPostInsert
in interfaceorg.hibernate.event.PostInsertEventListener
-
onPostUpdate
public void onPostUpdate(org.hibernate.event.PostUpdateEvent event)
- Specified by:
onPostUpdate
in interfaceorg.hibernate.event.PostUpdateEventListener
-
-