Uses of Interface
io.helidon.integrations.cdi.jpa.PersistenceUnitInfoBean.DataSourceProvider
-
Packages that use PersistenceUnitInfoBean.DataSourceProvider Package Description io.helidon.integrations.cdi.jpa Provides classes and interfaces that integrate the provider-independent parts of JPA into CDI. -
-
Uses of PersistenceUnitInfoBean.DataSourceProvider in io.helidon.integrations.cdi.jpa
Methods in io.helidon.integrations.cdi.jpa with parameters of type PersistenceUnitInfoBean.DataSourceProvider Modifier and Type Method Description static Collection<? extends PersistenceUnitInfoBean>
PersistenceUnitInfoBean. fromPersistence(Persistence persistence, ClassLoader classLoader, Supplier<? extends ClassLoader> tempClassLoaderSupplier, URL rootUrl, Map<? extends String,? extends Set<? extends Class<?>>> unlistedClasses, PersistenceUnitInfoBean.DataSourceProvider dataSourceProvider)
Deprecated.Please use thePersistenceUnitInfoBean.fromPersistenceUnit(PersistenceUnit, ClassLoader, Supplier, URL, Map, Supplier)
method instead.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 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 PersistenceUnitInfoBean
PersistenceUnitInfoBean. fromPersistenceUnit(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.Method parameters in io.helidon.integrations.cdi.jpa with type arguments of type PersistenceUnitInfoBean.DataSourceProvider Modifier and Type Method Description static PersistenceUnitInfoBean
PersistenceUnitInfoBean. fromPersistenceUnit(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 supplyPersistenceUnitInfoBean.DataSourceProvider
instances, returns aPersistenceUnitInfoBean
representing the persistence unit in question.Constructors in io.helidon.integrations.cdi.jpa with parameters of type PersistenceUnitInfoBean.DataSourceProvider Constructor Description PersistenceUnitInfoBean(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.Constructor parameters in io.helidon.integrations.cdi.jpa with type arguments of type PersistenceUnitInfoBean.DataSourceProvider Constructor Description PersistenceUnitInfoBean(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.
-