EclipseLink1.0 - 20080707 API Reference

org.eclipse.persistence.jpa.osgi
Class PersistenceProvider

java.lang.Object
  extended by org.eclipse.persistence.jpa.PersistenceProvider
      extended by org.eclipse.persistence.jpa.osgi.PersistenceProvider
All Implemented Interfaces:
javax.persistence.spi.PersistenceProvider

public class PersistenceProvider
extends PersistenceProvider

EclipseLink JPA provider for use in OSGI Environments


Field Summary
 
Fields inherited from class org.eclipse.persistence.jpa.PersistenceProvider
initializationHelper
 
Constructor Summary
PersistenceProvider()
           
PersistenceProvider(java.lang.String initializerClassName)
           
 
Method Summary
 javax.persistence.EntityManagerFactory createContainerEntityManagerFactory(javax.persistence.spi.PersistenceUnitInfo info, java.util.Map map)
          Called by the container when an EntityManagerFactory is to be created.
 
Methods inherited from class org.eclipse.persistence.jpa.PersistenceProvider
createEntityManagerFactory, createEntityManagerFactory
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PersistenceProvider

public PersistenceProvider()

PersistenceProvider

public PersistenceProvider(java.lang.String initializerClassName)
Method Detail

createContainerEntityManagerFactory

public javax.persistence.EntityManagerFactory createContainerEntityManagerFactory(javax.persistence.spi.PersistenceUnitInfo info,
                                                                                  java.util.Map map)
Description copied from class: PersistenceProvider
Called by the container when an EntityManagerFactory is to be created.

Specified by:
createContainerEntityManagerFactory in interface javax.persistence.spi.PersistenceProvider
Overrides:
createContainerEntityManagerFactory in class PersistenceProvider
Parameters:
info - Metadata for use by the persistence provider
Returns:
EntityManagerFactory for the persistence unit specified by the metadata

EclipseLink1.0 - 20080707 API Reference