Class EventuateLocalCrudConfiguration


  • @Configuration
    @EnableTransactionManagement
    @Import({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
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method 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)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • EventuateLocalCrudConfiguration

        public EventuateLocalCrudConfiguration()
    • Method Detail

      • eventuateJdbcAccess

        @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("${spring.datasource.driver-class-name}")
                                                                                    java.lang.String driver)
      • eventuateLocalAggregateCrud

        @Bean
        public io.eventuate.local.java.crud.EventuateLocalAggregateCrud eventuateLocalAggregateCrud​(io.eventuate.common.jdbc.EventuateTransactionTemplate transactionTemplate,
                                                                                                    io.eventuate.javaclient.jdbc.EventuateJdbcAccess eventuateJdbcAccess)
      • asyncAggregateCrud

        @Bean
        public io.eventuate.javaclient.commonimpl.crud.AggregateCrud asyncAggregateCrud​(io.eventuate.javaclient.commonimpl.crud.sync.AggregateCrud aggregateCrud)
      • transactionTemplate

        @Bean
        public org.springframework.transaction.support.TransactionTemplate transactionTemplate​(org.springframework.transaction.PlatformTransactionManager platformTransactionManager)