@ConditionalOnBean(value=javax.persistence.EntityManagerFactory.class) @ConditionalOnMissingBean(value={EventStorageEngine.class,EventBus.class}) @Configuration @AutoConfigureAfter(value=AxonServerAutoConfiguration.class) public class JpaEventStoreAutoConfiguration extends Object
Constructor and Description |
---|
JpaEventStoreAutoConfiguration() |
Modifier and Type | Method and Description |
---|---|
EventStorageEngine |
eventStorageEngine(Serializer defaultSerializer,
PersistenceExceptionResolver persistenceExceptionResolver,
Serializer eventSerializer,
AxonConfiguration configuration,
EntityManagerProvider entityManagerProvider,
TransactionManager transactionManager) |
@Bean public EventStorageEngine eventStorageEngine(Serializer defaultSerializer, PersistenceExceptionResolver persistenceExceptionResolver, @Qualifier(value="eventSerializer") Serializer eventSerializer, AxonConfiguration configuration, EntityManagerProvider entityManagerProvider, TransactionManager transactionManager)
Copyright © 2010–2022. All rights reserved.