| Package | Description |
|---|---|
| io.helidon.integrations.cdi.jpa |
Provides classes and interfaces that integrate the
provider-independent parts of JPA into CDI.
|
| io.helidon.integrations.cdi.jpa.jaxb |
| Modifier and Type | Method and Description |
|---|---|
static PersistenceUnitInfoBean |
PersistenceUnitInfoBean.fromPersistenceUnit(Persistence.PersistenceUnit persistenceUnit,
ClassLoader classLoader,
Supplier<? extends ClassLoader> tempClassLoaderSupplier,
URL rootUrl,
Map<? extends String,? extends Set<? extends Class<?>>> unlistedClasses,
PersistenceUnitInfoBean.DataSourceProvider dataSourceProvider)
Given a
Persistence.PersistenceUnit (a Java object representation
of a <persistence-unit> element in a META-INF/persistence.xml resource), a ClassLoader for
loading JPA classes and resources, a Supplier of ClassLoader instances for helping to implement the PersistenceUnitInfo.getNewTempClassLoader() method, a URL representing the persistence unit's root, a Map of
unlisted managed classes (entity classes, mapped superclasses
and so on) indexed by persistence unit name, and a PersistenceUnitInfoBean.DataSourceProvider that can provide DataSource
instances, returns a PersistenceUnitInfoBean
representing the persistence unit in question. |
static PersistenceUnitInfoBean |
PersistenceUnitInfoBean.fromPersistenceUnit(Persistence.PersistenceUnit persistenceUnit,
URL rootUrl,
Map<? extends String,? extends Set<? extends Class<?>>> unlistedClasses,
PersistenceUnitInfoBean.DataSourceProvider dataSourceProvider)
Given a
Persistence.PersistenceUnit (a Java object representation
of a <persistence-unit> element in a META-INF/persistence.xml resource), a URL representing
the persistence unit's root, a Map of unlisted managed
classes (entity classes, mapped superclasses and so on) indexed
by persistence unit name, and a PersistenceUnitInfoBean.DataSourceProvider that
can supply DataSource instances, returns a PersistenceUnitInfoBean representing the persistence unit in
question. |
| Modifier and Type | Field and Description |
|---|---|
protected List<Persistence.PersistenceUnit> |
Persistence.persistenceUnit |
| Modifier and Type | Method and Description |
|---|---|
Persistence.PersistenceUnit |
ObjectFactory.createPersistencePersistenceUnit()
Create an instance of
Persistence.PersistenceUnit |
| Modifier and Type | Method and Description |
|---|---|
List<Persistence.PersistenceUnit> |
Persistence.getPersistenceUnit()
Gets the value of the persistenceUnit property.
|
Copyright © 2018–2019 Oracle and/or its affiliates. All rights reserved. Use is subject to license terms.