|
GigaSpaces XAP 9.7.2 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.openspaces.jpa.OpenSpacesPersistenceProvider
public class OpenSpacesPersistenceProvider
An OpenSpaces implementation for the PersistenceProvider interface. Provides an OpenJPA entity manager factory with an optional injected space instance.
Constructor Summary | |
---|---|
OpenSpacesPersistenceProvider()
|
Method Summary | |
---|---|
javax.persistence.EntityManagerFactory |
createContainerEntityManagerFactory(javax.persistence.spi.PersistenceUnitInfo pui,
Map properties)
|
javax.persistence.EntityManagerFactory |
createEntityManagerFactory(String persistenceUnitName,
IJSpace space)
Creates an EntityManagerFactory instance and injects the provided space instance to it. |
javax.persistence.EntityManagerFactory |
createEntityManagerFactory(String persistenceUnitName,
IJSpace space,
Map properties)
Creates an EntityManagerFactory instance and injects the provided space instance to it. |
javax.persistence.EntityManagerFactory |
createEntityManagerFactory(String persistenceUnitName,
Map properties)
|
javax.persistence.spi.ProviderUtil |
getProviderUtil()
|
void |
setSpace(IJSpace space)
Sets the space instance which will be injected to the EntityManagerFactory instance. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OpenSpacesPersistenceProvider()
Method Detail |
---|
public javax.persistence.EntityManagerFactory createEntityManagerFactory(String persistenceUnitName, IJSpace space, Map properties)
EntityManagerFactory
instance and injects the provided space instance to it.
persistenceUnitName
- The persistence unit name.space
- The space instance to inject.properties
- Properties map.
EntityManagerFactory
instance.public javax.persistence.EntityManagerFactory createEntityManagerFactory(String persistenceUnitName, IJSpace space)
EntityManagerFactory
instance and injects the provided space instance to it.
persistenceUnitName
- The persistence unit name.space
- The space instance to inject.
EntityManagerFactory
instance.public javax.persistence.EntityManagerFactory createEntityManagerFactory(String persistenceUnitName, Map properties)
createEntityManagerFactory
in interface javax.persistence.spi.PersistenceProvider
public javax.persistence.EntityManagerFactory createContainerEntityManagerFactory(javax.persistence.spi.PersistenceUnitInfo pui, Map properties)
createContainerEntityManagerFactory
in interface javax.persistence.spi.PersistenceProvider
public void setSpace(IJSpace space)
EntityManagerFactory
instance.
space
- The space instance to inject.public javax.persistence.spi.ProviderUtil getProviderUtil()
getProviderUtil
in interface javax.persistence.spi.PersistenceProvider
|
GigaSpaces XAP 9.7.2 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |