public interface PersistenceProviderAdaptor
Modifier and Type | Method and Description |
---|---|
void |
addProviderDependencies(PersistenceUnitMetadata pu)
Persistence provider integration code might need dependencies that must be started
for the deployment.
|
void |
addProviderProperties(Map properties,
PersistenceUnitMetadata pu)
Adds any provider specific properties (e.g.
|
void |
afterCreateContainerEntityManagerFactory(PersistenceUnitMetadata pu)
Called right after persistence provider is invoked to create container entity manager factory.
|
void |
beforeCreateContainerEntityManagerFactory(PersistenceUnitMetadata pu)
Called right before persistence provider is invoked to create container entity manager factory.
|
void |
cleanup(PersistenceUnitMetadata pu)
Called when we are done with the persistence unit metadata
|
boolean |
doesScopedPersistenceUnitNameIdentifyCacheRegionName(PersistenceUnitMetadata pu)
for adapters that support getManagementAdaptor(), does the scoped persistence unit name
correctly identify cache entities.
|
ManagementAdaptor |
getManagementAdaptor()
Get the management adaptor
|
void |
injectJtaManager(JtaManager jtaManager)
pass the JtaManager in for internal use by PersistenceProviderAdaptor implementer
|
void |
injectPlatform(Platform platform)
pass the platform in use
|
void injectJtaManager(JtaManager jtaManager)
jtaManager
- void injectPlatform(Platform platform)
platform
- void addProviderProperties(Map properties, PersistenceUnitMetadata pu)
properties
- pu
- void addProviderDependencies(PersistenceUnitMetadata pu)
pu
- void beforeCreateContainerEntityManagerFactory(PersistenceUnitMetadata pu)
pu
- void afterCreateContainerEntityManagerFactory(PersistenceUnitMetadata pu)
ManagementAdaptor getManagementAdaptor()
boolean doesScopedPersistenceUnitNameIdentifyCacheRegionName(PersistenceUnitMetadata pu)
void cleanup(PersistenceUnitMetadata pu)
Copyright © 2013 Red Hat. All rights reserved.