org.compass.gps.device.jpa
Class AbstractDeviceJpaEntityListener
java.lang.Object
org.compass.gps.device.jpa.AbstractCompassJpaEntityListener
org.compass.gps.device.jpa.AbstractDeviceJpaEntityListener
- Direct Known Subclasses:
- EclipseLinkEventListener, EmbeddedOpenJPAEventListener, EmbeddedToplinkEventListener, HibernateJpaEntityLifecycleInjector.HibernateEventListener
public abstract class AbstractDeviceJpaEntityListener
- extends AbstractCompassJpaEntityListener
An abstract support class for event lifecycle JPA spec support. Requires the JpaGpsDevice
instance to be provided (usual sub classes will simple fetch it from the Jndi location). This
is the least prefereable way to use lifecycle event listerens, please see
JpaGpsDevice and JpaEntityLifecycleInjector.
- Author:
- kimchy
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractDeviceJpaEntityListener
public AbstractDeviceJpaEntityListener()
getDevice
protected abstract JpaGpsDevice getDevice()
getCompass
protected Compass getCompass()
- Specified by:
getCompass in class AbstractCompassJpaEntityListener
disable
protected boolean disable()
- Overrides:
disable in class AbstractCompassJpaEntityListener
Copyright (c) 2004-2008 The Compass Project.