org.compass.gps.device.jpa.lifecycle
Class HibernateJpaEntityLifecycleInjector.HibernateEventListener
java.lang.Object
org.compass.gps.device.jpa.AbstractCompassJpaEntityListener
org.compass.gps.device.jpa.AbstractDeviceJpaEntityListener
org.compass.gps.device.jpa.lifecycle.HibernateJpaEntityLifecycleInjector.HibernateEventListener
- All Implemented Interfaces:
- Serializable, PostDeleteEventListener, PostInsertEventListener, PostUpdateEventListener
- Direct Known Subclasses:
- HibernateJpaEntityCollectionLifecycleInjector.HibernateCollectionEventListener
- Enclosing class:
- HibernateJpaEntityLifecycleInjector
public static class HibernateJpaEntityLifecycleInjector.HibernateEventListener
- extends AbstractDeviceJpaEntityListener
- implements PostInsertEventListener, PostUpdateEventListener, PostDeleteEventListener
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HibernateJpaEntityLifecycleInjector.HibernateEventListener
public HibernateJpaEntityLifecycleInjector.HibernateEventListener(JpaGpsDevice device)
getDevice
protected JpaGpsDevice getDevice()
- Specified by:
getDevice in class AbstractDeviceJpaEntityListener
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.