org.compass.gps.device.jpa.support
Class NativeJpaHelper

java.lang.Object
  extended by org.compass.gps.device.jpa.support.NativeJpaHelper

public abstract class NativeJpaHelper
extends Object

Author:
kimchy

Nested Class Summary
static interface NativeJpaHelper.NativeJpaCallback<T>
           
 
Constructor Summary
NativeJpaHelper()
           
 
Method Summary
static
<T> T
detectNativeJpa(javax.persistence.EntityManagerFactory emf, CompassSettings settings, NativeJpaHelper.NativeJpaCallback<T> callback)
           
static javax.persistence.EntityManagerFactory extractNativeJpa(javax.persistence.EntityManagerFactory emf)
           
static javax.persistence.EntityManagerFactory extractNativeJpa(javax.persistence.EntityManagerFactory emf, ClassLoader classLoader)
           
static javax.persistence.EntityManagerFactory extractNativeJpa(javax.persistence.EntityManagerFactory emf, CompassSettings settings)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NativeJpaHelper

public NativeJpaHelper()
Method Detail

detectNativeJpa

public static <T> T detectNativeJpa(javax.persistence.EntityManagerFactory emf,
                                    CompassSettings settings,
                                    NativeJpaHelper.NativeJpaCallback<T> callback)
                         throws JpaGpsDeviceException
Throws:
JpaGpsDeviceException

extractNativeJpa

public static javax.persistence.EntityManagerFactory extractNativeJpa(javax.persistence.EntityManagerFactory emf)

extractNativeJpa

public static javax.persistence.EntityManagerFactory extractNativeJpa(javax.persistence.EntityManagerFactory emf,
                                                                      CompassSettings settings)

extractNativeJpa

public static javax.persistence.EntityManagerFactory extractNativeJpa(javax.persistence.EntityManagerFactory emf,
                                                                      ClassLoader classLoader)


Copyright (c) 2004-2008 The Compass Project.