org.compass.spring.device.hibernate
Class SpringNativeHibernateExtractor

java.lang.Object
  extended by 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

Constructor Summary
SpringNativeHibernateExtractor()
           
 
Method Summary
 SessionFactory extractNative(SessionFactory sessionFactory)
          Returns the actual EntityManagerFactory based on the given EntityManagerFactory.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SpringNativeHibernateExtractor

public SpringNativeHibernateExtractor()
Method Detail

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.