|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.compass.gps.device.AbstractGpsDevice
org.compass.gps.device.jdo.JdoGpsDevice
org.compass.gps.device.jdo.Jdo2GpsDevice
public class Jdo2GpsDevice
Adds real time monitoring on top of JDO 1 support (see
JdoGpsDevice), using JDO 2
lifecycle events.
| Field Summary |
|---|
| Fields inherited from class org.compass.gps.device.jdo.JdoGpsDevice |
|---|
persistenceManagerFactory |
| Fields inherited from class org.compass.gps.device.AbstractGpsDevice |
|---|
compassGps, log |
| Constructor Summary | |
|---|---|
Jdo2GpsDevice()
|
|
Jdo2GpsDevice(String name,
javax.jdo.PersistenceManagerFactory persistenceManagerFactory)
|
|
| Method Summary | |
|---|---|
protected void |
doStart()
Derived devices can implement it in case of start event notification. |
protected void |
doStop()
Derived devices can implement it in case of stop event notification. |
boolean |
isIgnoreMirrorExceptions()
Should exceptions be ignored during the mirroring operations (the JDO 2 event listeners). |
boolean |
isMirrorDataChanges()
Should the device perform real time data mirroring. |
void |
setIgnoreMirrorExceptions(boolean ignoreMirrorExceptions)
Should exceptions be ignored during the mirroring operations (the JDO 2 event listeners). |
void |
setMirrorDataChanges(boolean mirrorDataChanges)
Sets if the device will perform real time data changes mirroring. |
| Methods inherited from class org.compass.gps.device.jdo.JdoGpsDevice |
|---|
doIndex, getPersistenceManagerFactory, setPersistenceManagerFactory |
| Methods inherited from class org.compass.gps.device.AbstractGpsDevice |
|---|
buildMessage, getGps, getName, index, injectGps, isFilteredForIndex, isPerformingIndexOperation, isRunning, refresh, setFilteredEntitiesForIndex, setName, shouldMirrorDataChanges, start, stop |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.compass.gps.CompassGpsDevice |
|---|
getGps, getName, index, injectGps, isPerformingIndexOperation, isRunning, refresh, setName, shouldMirrorDataChanges, start, stop |
| Constructor Detail |
|---|
public Jdo2GpsDevice()
public Jdo2GpsDevice(String name,
javax.jdo.PersistenceManagerFactory persistenceManagerFactory)
| Method Detail |
|---|
public boolean isMirrorDataChanges()
MirrorDataChangesGpsDevice
isMirrorDataChanges in interface MirrorDataChangesGpsDevicetrue if the device mirror data changespublic void setMirrorDataChanges(boolean mirrorDataChanges)
MirrorDataChangesGpsDevice
setMirrorDataChanges in interface MirrorDataChangesGpsDevicemirrorDataChanges - Should the device mirror data changespublic boolean isIgnoreMirrorExceptions()
false.
public void setIgnoreMirrorExceptions(boolean ignoreMirrorExceptions)
false.
protected void doStart()
throws CompassGpsException
AbstractGpsDevice
doStart in class JdoGpsDeviceCompassGpsException
protected void doStop()
throws CompassGpsException
AbstractGpsDevice
doStop in class AbstractGpsDeviceCompassGpsException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||