Class DbProductDataProviderFactory
java.lang.Object
org.faktorips.runtime.productdata.jpa.provider.DbProductDataProviderFactory
- All Implemented Interfaces:
org.faktorips.runtime.productdataprovider.IProductDataProviderFactory
public class DbProductDataProviderFactory
extends Object
implements org.faktorips.runtime.productdataprovider.IProductDataProviderFactory
Creates
JpaProductDataProviders for tables of content identified by
name and version, reading the DbTableOfContents from a
ProductDatabaseBean.-
Constructor Summary
ConstructorsConstructorDescriptionDbProductDataProviderFactory(String name, String modelVersion, ProductDatabase productDatabase) CreatesJpaProductDataProvidersfor tables of content identified bynameandversionusing theEntityManagerto read theDbTableOfContentsfrom the database.DbProductDataProviderFactory(String name, org.faktorips.runtime.internal.toc.AbstractReadonlyTableOfContents modelTableOfContents, ProductDatabase productDatabase) -
Method Summary
-
Constructor Details
-
DbProductDataProviderFactory
public DbProductDataProviderFactory(String name, String modelVersion, ProductDatabase productDatabase) CreatesJpaProductDataProvidersfor tables of content identified bynameandversionusing theEntityManagerto read theDbTableOfContentsfrom the database.- Parameters:
name- the name identifying a table of contentsmodelVersion- the version of the model matching the product data contained in the table of contentsproductDatabase- theProductDatabaseBeanused for up-to-date checks
-
DbProductDataProviderFactory
public DbProductDataProviderFactory(String name, org.faktorips.runtime.internal.toc.AbstractReadonlyTableOfContents modelTableOfContents, ProductDatabase productDatabase)
-
-
Method Details
-
newInstance
- Specified by:
newInstancein interfaceorg.faktorips.runtime.productdataprovider.IProductDataProviderFactory
-