public EntityManagerFactory extractNative(EntityManagerFactory entityManagerFactory) throws JpaGpsDeviceException(Code)
Extracts the native entity manager factory from a managed JBoss one. If JBoss
has not wrapped the factory, will return it as is.
Parameters: entityManagerFactory - The (possibly) managed JBoss entity manager factory The native entity manager factory throws: org.compass.gps.device.jpa.JpaGpsDeviceException -