org.compass.gps.device.hibernate.lifecycle
Class HibernateEventListener
java.lang.Object
org.compass.gps.device.hibernate.lifecycle.HibernateEventListener
- All Implemented Interfaces:
- Serializable, PostDeleteEventListener, PostInsertEventListener, PostUpdateEventListener
- Direct Known Subclasses:
- HibernateCollectionEventListener
public class HibernateEventListener
- extends Object
- implements PostInsertEventListener, PostUpdateEventListener, PostDeleteEventListener
A default implementation for Hibernate lifecycle callbacks.
- Author:
- kimchy
- See Also:
DefaultHibernateEntityLifecycleInjector,
Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
protected final org.apache.commons.logging.Log log
device
protected final HibernateGpsDevice device
mirrorFilter
protected final HibernateMirrorFilter mirrorFilter
marshallIds
protected final boolean marshallIds
HibernateEventListener
public HibernateEventListener(HibernateGpsDevice device,
boolean marshallIds)
onPostInsert
public void onPostInsert(PostInsertEvent postInsertEvent)
- Specified by:
onPostInsert in interface PostInsertEventListener
onPostUpdate
public void onPostUpdate(PostUpdateEvent postUpdateEvent)
- Specified by:
onPostUpdate in interface PostUpdateEventListener
onPostDelete
public void onPostDelete(PostDeleteEvent postDeleteEvent)
- Specified by:
onPostDelete in interface PostDeleteEventListener
Copyright (c) 2004-2008 The Compass Project.