Package africa.absa.inception.reporting
Class ReportingConfiguration
- java.lang.Object
-
- africa.absa.inception.reporting.ReportingConfiguration
-
@Configuration @EnableJpaRepositories(entityManagerFactoryRef="reportingEntityManagerFactory", basePackages="africa.absa.inception.reporting") public class ReportingConfiguration extends ObjectThe ReportingConfiguration class provides the Spring configuration for the Reporting module.- Author:
- Marcus Portmann
-
-
Constructor Summary
Constructors Constructor Description ReportingConfiguration(org.springframework.context.ApplicationContext applicationContext)Constructs a new ReportingConfiguration.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBeanreportingEntityManagerFactory(DataSource dataSource, org.springframework.transaction.PlatformTransactionManager platformTransactionManager)Returns the reporting entity manager factory bean associated with the application data source.
-
-
-
Method Detail
-
reportingEntityManagerFactory
@Bean public org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean reportingEntityManagerFactory(@Qualifier("applicationDataSource") DataSource dataSource, org.springframework.transaction.PlatformTransactionManager platformTransactionManager)Returns the reporting entity manager factory bean associated with the application data source.- Parameters:
dataSource- the application data sourceplatformTransactionManager- the platform transaction manager- Returns:
- the reporting entity manager factory bean associated with the application data source
-
-