|
EclipseLink 2.1.2, build 'v20101206-r8635' API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.persistence.jpa.PersistenceProvider org.eclipse.persistence.jpa.osgi.PersistenceProvider
public class 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 |
---|
public PersistenceProvider()
public PersistenceProvider(java.lang.String initializerClassName)
Method Detail |
---|
public EntityManagerFactory createContainerEntityManagerFactory(PersistenceUnitInfo info, java.util.Map map)
PersistenceProvider
createContainerEntityManagerFactory
in interface PersistenceProvider
createContainerEntityManagerFactory
in class PersistenceProvider
info
- Metadata for use by the persistence providermap
- 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"
.
|
EclipseLink 2.1.2, build 'v20101206-r8635' API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |