Uses of Interface
io.helidon.integrations.cdi.jpa.PersistenceUnitInfoBean.DataSourceProvider
Package
Description
Provides classes and interfaces that integrate the
provider-independent parts of JPA into CDI.
-
Uses of PersistenceUnitInfoBean.DataSourceProvider in io.helidon.integrations.cdi.jpa
Modifier and TypeMethodDescriptionstatic final PersistenceUnitInfoBean
PersistenceUnitInfoBean.fromPersistenceUnit
(io.helidon.integrations.cdi.jpa.jaxb.Persistence.PersistenceUnit persistenceUnit, ClassLoader classLoader, Supplier<? extends ClassLoader> tempClassLoaderSupplier, URL rootUrl, Map<? extends String, ? extends Set<? extends Class<?>>> unlistedClasses, PersistenceUnitInfoBean.DataSourceProvider dataSourceProvider) Given aPersistence.PersistenceUnit
(a Java object representation of a<persistence-unit>
element in aMETA-INF/persistence.xml
resource), aClassLoader
for loading JPA classes and resources, aSupplier
ofClassLoader
instances for helping to implement thePersistenceUnitInfo.getNewTempClassLoader()
method, aURL
representing the persistence unit's root, aMap
of unlisted managed classes (entity classes, mapped superclasses and so on) indexed by persistence unit name, and aPersistenceUnitInfoBean.DataSourceProvider
that can provideDataSource
instances, returns aPersistenceUnitInfoBean
representing the persistence unit in question.static final PersistenceUnitInfoBean
PersistenceUnitInfoBean.fromPersistenceUnit
(io.helidon.integrations.cdi.jpa.jaxb.Persistence.PersistenceUnit persistenceUnit, URL rootUrl, Map<? extends String, ? extends Set<? extends Class<?>>> unlistedClasses, PersistenceUnitInfoBean.DataSourceProvider dataSourceProvider) Given aPersistence.PersistenceUnit
(a Java object representation of a<persistence-unit>
element in aMETA-INF/persistence.xml
resource), aURL
representing the persistence unit's root, aMap
of unlisted managed classes (entity classes, mapped superclasses and so on) indexed by persistence unit name, and aPersistenceUnitInfoBean.DataSourceProvider
that can supplyDataSource
instances, returns aPersistenceUnitInfoBean
representing the persistence unit in question.Modifier and TypeMethodDescriptionstatic final PersistenceUnitInfoBean
PersistenceUnitInfoBean.fromPersistenceUnit
(io.helidon.integrations.cdi.jpa.jaxb.Persistence.PersistenceUnit persistenceUnit, URL rootUrl, Map<? extends String, ? extends Set<? extends Class<?>>> unlistedClasses, Supplier<? extends PersistenceUnitInfoBean.DataSourceProvider> dataSourceProviderSupplier) Given aPersistence.PersistenceUnit
(a Java object representation of a<persistence-unit>
element in aMETA-INF/persistence.xml
resource), aURL
representing the persistence unit's root, aMap
of unlisted managed classes (entity classes, mapped superclasses and so on) indexed by persistence unit name, and aDataSourceProviderSupplier
that can supplyDataSourceProvider
instances, returns aPersistenceUnitInfoBean
representing the persistence unit in question.ModifierConstructorDescriptionPersistenceUnitInfoBean
(String persistenceUnitName, URL persistenceUnitRootUrl, String persistenceXMLSchemaVersion, String persistenceProviderClassName, ClassLoader classLoader, Supplier<? extends ClassLoader> tempClassLoaderSupplier, Consumer<? super ClassTransformer> classTransformerConsumer, boolean excludeUnlistedClasses, Collection<? extends URL> jarFileUrls, Collection<? extends String> managedClassNames, Collection<? extends String> mappingFileNames, String jtaDataSourceName, String nonJtaDataSourceName, PersistenceUnitInfoBean.DataSourceProvider dataSourceProvider, Properties properties, SharedCacheMode sharedCacheMode, PersistenceUnitTransactionType transactionType, ValidationMode validationMode) Creates a newPersistenceUnitInfoBean
.PersistenceUnitInfoBean
(String persistenceUnitName, URL persistenceUnitRootUrl, Collection<? extends String> managedClassNames, PersistenceUnitInfoBean.DataSourceProvider dataSourceProvider, Properties properties) Creates a newPersistenceUnitInfoBean
using as many defaults as reasonably possible.ModifierConstructorDescriptionPersistenceUnitInfoBean
(String persistenceUnitName, URL persistenceUnitRootUrl, Collection<? extends String> managedClassNames, Supplier<? extends PersistenceUnitInfoBean.DataSourceProvider> dataSourceProviderSupplier, Properties properties) Creates a newPersistenceUnitInfoBean
using as many defaults as reasonably possible.