javax.persistence.spi
Interface PersistenceProvider

All Known Implementing Classes:
AmberPersistenceProvider, DisabledPersistenceProvider

public interface PersistenceProvider

Bootstrap class to obtain an EntityManagerFactory.


Method Summary
 EntityManagerFactory createContainerEntityManagerFactory(PersistenceUnitInfo info, java.util.Map map)
          Create and return an EntityManagerFactory for the named unit.
 EntityManagerFactory createEntityManagerFactory(java.lang.String name, java.util.Map map)
          Create an return an EntityManagerFactory for the named unit.
 ProviderUtil getProviderUtil()
           
 

Method Detail

createEntityManagerFactory

EntityManagerFactory createEntityManagerFactory(java.lang.String name,
                                                java.util.Map map)
Create an return an EntityManagerFactory for the named unit.


createContainerEntityManagerFactory

EntityManagerFactory createContainerEntityManagerFactory(PersistenceUnitInfo info,
                                                         java.util.Map map)
Create and return an EntityManagerFactory for the named unit.


getProviderUtil

ProviderUtil getProviderUtil()