| Modifier and Type | Method and Description |
|---|---|
PersistenceUnitDescriptor |
BundleDescriptor.findDefaultPU()
This method is responsible for finding default persistence unit for
a bundle descriptor.
|
PersistenceUnitDescriptor |
BundleDescriptor.findReferencedPU(String unitName)
It accepts both a quailified (e.g.) "lib/a.jar#FooPU" as well as
unqualified name (e.g.) "FooPU".
|
protected static PersistenceUnitDescriptor |
BundleDescriptor.findReferencedPUViaEMFRef(EntityManagerFactoryReference emfRef) |
protected static PersistenceUnitDescriptor |
BundleDescriptor.findReferencedPUViaEMRef(EntityManagerReference emRef) |
| Modifier and Type | Method and Description |
|---|---|
Collection<? extends PersistenceUnitDescriptor> |
BundleDescriptor.findReferencedPUs()
This method returns all the persistence units that are referenced
by this module.
|
Collection<? extends PersistenceUnitDescriptor> |
ApplicationClientDescriptor.findReferencedPUs()
This method is used to find out the precise list of PUs that are
referenced by the appclient.
|
abstract Collection<? extends PersistenceUnitDescriptor> |
WebBundleDescriptor.findReferencedPUs() |
protected static Collection<? extends PersistenceUnitDescriptor> |
BundleDescriptor.findReferencedPUsViaPCRefs(JndiNameEnvironment component)
helper method: find all PUs referenced via @PersistenceContext or
|
protected static Collection<? extends PersistenceUnitDescriptor> |
BundleDescriptor.findReferencedPUsViaPURefs(JndiNameEnvironment component)
helper method: find all PUs referenced via @PersistenceUnit or
|
List<PersistenceUnitDescriptor> |
PersistenceUnitsDescriptor.getPersistenceUnitDescriptors() |
Map<String,PersistenceUnitDescriptor> |
BundleDescriptor.getVisiblePUs()
This method returns all the PUs that are defined in this bundle as well
as the PUs defined in the ear level.
|
| Modifier and Type | Method and Description |
|---|---|
void |
PersistenceUnitsDescriptor.addPersistenceUnitDescriptor(PersistenceUnitDescriptor pud)
This method does not do any validation like checking for unique names
of PersistenceUnits.
|
| Modifier and Type | Method and Description |
|---|---|
Collection<? extends PersistenceUnitDescriptor> |
EjbBundleDescriptorImpl.findReferencedPUs()
This method returns all the persistence units that are referenced
by this module.
|
| Modifier and Type | Method and Description |
|---|---|
static String |
PersistenceUnitInfoImpl.getPersistenceProviderClassNameForPuDesc(PersistenceUnitDescriptor persistenceUnitDescriptor) |
| Constructor and Description |
|---|
PersistenceUnitInfoImpl(PersistenceUnitDescriptor persistenceUnitDescriptor,
ProviderContainerContractInfo providerContainerContractInfo) |
PersistenceUnitLoader(PersistenceUnitDescriptor puToInstatntiate,
ProviderContainerContractInfo providerContainerContractInfo) |
| Modifier and Type | Method and Description |
|---|---|
static SchemaGenerationProcessor |
SchemaGenerationProcessorFactory.createSchemaGenerationProcessor(PersistenceUnitDescriptor pud) |
void |
SchemaGenerationProcessor.init(PersistenceUnitDescriptor pud,
DeploymentContext deploymentContext)
initialize the processor
|
void |
JPAStandardSchemaGenerationProcessor.init(PersistenceUnitDescriptor pud,
DeploymentContext deploymentContext) |
void |
EclipseLinkSchemaGenerationProcessor.init(PersistenceUnitDescriptor pud,
DeploymentContext context) |
| Modifier and Type | Method and Description |
|---|---|
Collection<? extends PersistenceUnitDescriptor> |
WebBundleDescriptorImpl.findReferencedPUs()
This method returns all the persistence units that are referenced
by this module.
|
Copyright © 2019. All rights reserved.