org.compass.spring.device.hibernate.dep
Class SpringHibernate3GpsDevice
java.lang.Object
org.compass.gps.device.AbstractGpsDevice
org.compass.gps.device.support.parallel.AbstractParallelGpsDevice
org.compass.gps.device.hibernate.dep.AbstractHibernateGpsDevice
org.compass.gps.device.hibernate.dep.Hibernate3GpsDevice
org.compass.spring.device.hibernate.dep.SpringHibernate3GpsDevice
- All Implemented Interfaces:
- CompassGpsDevice, MirrorDataChangesGpsDevice, PassiveMirrorGpsDevice
public class SpringHibernate3GpsDevice
- extends Hibernate3GpsDevice
A special Hibernate3GpsDevice that handled cases when spring
proxies the SessionFactory (like when
exposeTransactionAwareSessionFactory is set to
true, which is the default from spring 1.2.X).
Use this hibernate gps device instead of
org.compass.gps.device.hibernate.dep.Hibernate3GpsDevice if you
are using Hibernate 3 and Spring.
- Author:
- kimchy
| Methods inherited from class org.compass.gps.device.hibernate.dep.Hibernate3GpsDevice |
doGetHibernateEntitiesInfo, doGetHibernateSessionWrapper, doGetObjects, doGetQuery, doStart, doStop, isIgnoreMirrorExceptions, isInherited, isMirrorDataChanges, setConfiguration, setIgnoreMirrorExceptions, setMirrorDataChanges, setMirrorFilter, setSessionFactory |
| Methods inherited from class org.compass.gps.device.AbstractGpsDevice |
buildMessage, getGps, getName, injectGps, isFilteredForIndex, isPerformingIndexOperation, isRunning, refresh, setFilteredEntitiesForIndex, setName, shouldMirrorDataChanges, 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 |
SpringHibernate3GpsDevice
public SpringHibernate3GpsDevice()
getNativeSessionFactory
public static SessionFactory getNativeSessionFactory(SessionFactory sessionFactory)
doGetActualSessionFactory
protected SessionFactory doGetActualSessionFactory()
- Returns the actual
SessionFactory in case it is proxied by
spring.
- Overrides:
doGetActualSessionFactory in class Hibernate3GpsDevice
Copyright (c) 2004-2008 The Compass Project.