EclipseLink 1.2.0, build 'v20091016-r5565' 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:
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
 EntityManagerFactory createContainerEntityManagerFactory(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, getProviderUtil, isLoaded, isLoadedWithoutReference, isLoadedWithReference
 
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 EntityManagerFactory createContainerEntityManagerFactory(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 PersistenceProvider
Overrides:
createContainerEntityManagerFactory in class PersistenceProvider
Parameters:
info - Metadata for use by the persistence provider
map - a Map of integration-level properties for use by the persistence provider (may be null if no properties are specified). If a Bean Validation provider is present in the classpath, the container must pass the ValidatorFactory instance in the map with the key "javax.persistence.validation.factory".
Returns:
EntityManagerFactory for the persistence unit specified by the metadata

EclipseLink 1.2.0, build 'v20091016-r5565' API Reference