|
EclipseLink 1.0_1.0 M8 - 20080604 API Reference - Incubation | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.persistence.jpa.PersistenceProvider
public class PersistenceProvider
This is the EclipseLink EJB 3.0 provider
Constructor Summary | |
---|---|
PersistenceProvider()
|
Method Summary | |
---|---|
javax.persistence.EntityManagerFactory |
createContainerEntityManagerFactory(javax.persistence.spi.PersistenceUnitInfo info,
java.util.Map properties)
Called by the container when an EntityManagerFactory is to be created. |
javax.persistence.EntityManagerFactory |
createEntityManagerFactory(java.lang.String emName,
java.util.Map properties)
Called by Persistence class when an EntityManagerFactory is to be created. |
boolean |
isPersistenceProviderSupported(java.lang.String providerClassName)
Returns whether the given persistence provider class is supported by this implementation |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PersistenceProvider()
Method Detail |
---|
public javax.persistence.EntityManagerFactory createEntityManagerFactory(java.lang.String emName, java.util.Map properties)
createEntityManagerFactory
in interface javax.persistence.spi.PersistenceProvider
emName
- The name of the persistence unitmap
- A Map of properties for use by the
persistence provider. These properties may be used to
override the values of the corresponding elements in
the persistence.xml file or specify values for
properties not specified in the persistence.xml.
public javax.persistence.EntityManagerFactory createContainerEntityManagerFactory(javax.persistence.spi.PersistenceUnitInfo info, java.util.Map properties)
createContainerEntityManagerFactory
in interface javax.persistence.spi.PersistenceProvider
info
- Metadata for use by the persistence providermap
- A Map of integration-level properties for use
by the persistence provider.
public boolean isPersistenceProviderSupported(java.lang.String providerClassName)
isPersistenceProviderSupported
in interface org.eclipse.persistence.internal.jpa.PersistenceInitializationActivator
providerClassName
-
|
EclipseLink 1.0_1.0 M8 - 20080604 API Reference - Incubation | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |