org.compass.spring.device.hibernate
Class SpringNativeHibernateExtractor
java.lang.Object
org.compass.spring.device.hibernate.SpringNativeHibernateExtractor
- All Implemented Interfaces:
- NativeHibernateExtractor
public class SpringNativeHibernateExtractor
- extends Object
- implements NativeHibernateExtractor
A Spring hibernate native SessionFactory extractor.
- Author:
- kimchy
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SpringNativeHibernateExtractor
public SpringNativeHibernateExtractor()
extractNative
public SessionFactory extractNative(SessionFactory sessionFactory)
throws HibernateGpsDeviceException
- Description copied from interface:
NativeHibernateExtractor
- Returns the actual
EntityManagerFactory based on the given EntityManagerFactory.
Should return the same EntityManagerFactory if not wrapping has been done.
- Specified by:
extractNative in interface NativeHibernateExtractor
- Parameters:
sessionFactory - The (possibly) wrapped EntityManagerFactory.
- Returns:
- The actual
EntityManagerFactory implementation.
- Throws:
HibernateGpsDeviceException
Copyright (c) 2004-2008 The Compass Project.