com.caucho.amber.manager
Class AmberPersistenceProvider

java.lang.Object
  extended by com.caucho.amber.manager.AmberPersistenceProvider
All Implemented Interfaces:
PersistenceProvider

public class AmberPersistenceProvider
extends java.lang.Object
implements PersistenceProvider

The persistence provider implementation.


Constructor Summary
AmberPersistenceProvider()
           
 
Method Summary
 EntityManagerFactory createContainerEntityManagerFactory(PersistenceUnitInfo info, java.util.Map map)
          Create an 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()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AmberPersistenceProvider

public AmberPersistenceProvider()
Method Detail

createEntityManagerFactory

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

Specified by:
createEntityManagerFactory in interface PersistenceProvider

createContainerEntityManagerFactory

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

Specified by:
createContainerEntityManagerFactory in interface PersistenceProvider

getProviderUtil

public ProviderUtil getProviderUtil()
Specified by:
getProviderUtil in interface PersistenceProvider