|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ManagedPersistenceUnitInfo
This interface is used to provide the Aries JPA container with
the information it needs to create a container EntityManagerFactory
using the PersistenceProvider
service from a JPA provider.
Instances of this interface should be obtained from a
ManagedPersistenceUnitInfoFactory
Method Summary | |
---|---|
Map<String,Object> |
getContainerProperties()
Get a Map of continer properties to pass to the PersistenceProvider
when creating an EntityManagerFactory . |
javax.persistence.spi.PersistenceUnitInfo |
getPersistenceUnitInfo()
Get the PersistenceUnitInfo object for this persistence unit. |
Method Detail |
---|
javax.persistence.spi.PersistenceUnitInfo getPersistenceUnitInfo()
PersistenceUnitInfo
object for this persistence unit.
This method should only be called when the backing bundle for the
persistence unit has been resolved. If the bundle later becomes unresolved
then any PersistenceUnitInfo
objects obtained from this object
will be discarded.
PersistenceUnitInfo
that can be used to create an EntityManagerFactory
Map<String,Object> getContainerProperties()
Map
of continer properties to pass to the PersistenceProvider
when creating an EntityManagerFactory
.
Map
of properties, or null if no properties are needed.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |