@Configuration
@EnableTransactionManagement
@Import(value={io.eventuate.javaclient.spring.common.crud.EventuateCommonCrudConfiguration.class,io.eventuate.common.spring.jdbc.EventuateCommonJdbcOperationsConfiguration.class,io.eventuate.common.spring.id.IdGeneratorConfiguration.class})
public class EventuateLocalCrudConfiguration
extends java.lang.Object
| Constructor and Description |
|---|
EventuateLocalCrudConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
io.eventuate.javaclient.commonimpl.crud.AggregateCrud |
asyncAggregateCrud(io.eventuate.javaclient.commonimpl.crud.sync.AggregateCrud aggregateCrud) |
io.eventuate.javaclient.jdbc.EventuateJdbcAccess |
eventuateJdbcAccess(io.eventuate.common.id.IdGenerator idGenerator,
io.eventuate.common.jdbc.EventuateTransactionTemplate eventuateTransactionTemplate,
io.eventuate.common.jdbc.EventuateJdbcStatementExecutor eventuateJdbcStatementExecutor,
io.eventuate.common.jdbc.EventuateCommonJdbcOperations eventuateCommonJdbcOperations,
io.eventuate.common.jdbc.EventuateSchema eventuateSchema,
io.eventuate.common.jdbc.sqldialect.SqlDialectSelector sqlDialectSelector,
java.lang.String driver) |
io.eventuate.local.java.crud.EventuateLocalAggregateCrud |
eventuateLocalAggregateCrud(io.eventuate.common.jdbc.EventuateTransactionTemplate transactionTemplate,
io.eventuate.javaclient.jdbc.EventuateJdbcAccess eventuateJdbcAccess) |
org.springframework.transaction.support.TransactionTemplate |
transactionTemplate(org.springframework.transaction.PlatformTransactionManager platformTransactionManager) |
@Bean
public io.eventuate.javaclient.jdbc.EventuateJdbcAccess eventuateJdbcAccess(io.eventuate.common.id.IdGenerator idGenerator,
io.eventuate.common.jdbc.EventuateTransactionTemplate eventuateTransactionTemplate,
io.eventuate.common.jdbc.EventuateJdbcStatementExecutor eventuateJdbcStatementExecutor,
io.eventuate.common.jdbc.EventuateCommonJdbcOperations eventuateCommonJdbcOperations,
io.eventuate.common.jdbc.EventuateSchema eventuateSchema,
io.eventuate.common.jdbc.sqldialect.SqlDialectSelector sqlDialectSelector,
@Value(value="${spring.datasource.driver-class-name}")
java.lang.String driver)
@Bean
public io.eventuate.local.java.crud.EventuateLocalAggregateCrud eventuateLocalAggregateCrud(io.eventuate.common.jdbc.EventuateTransactionTemplate transactionTemplate,
io.eventuate.javaclient.jdbc.EventuateJdbcAccess eventuateJdbcAccess)
@Bean public io.eventuate.javaclient.commonimpl.crud.AggregateCrud asyncAggregateCrud(io.eventuate.javaclient.commonimpl.crud.sync.AggregateCrud aggregateCrud)
@Bean public org.springframework.transaction.support.TransactionTemplate transactionTemplate(org.springframework.transaction.PlatformTransactionManager platformTransactionManager)