@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,
Configuration configuration,
EntityManagerProvider entityManagerProvider,
TransactionManager transactionManager) |
@Bean public EventStorageEngine eventStorageEngine(Serializer defaultSerializer, PersistenceExceptionResolver persistenceExceptionResolver, @Qualifier(value="eventSerializer") Serializer eventSerializer, Configuration configuration, EntityManagerProvider entityManagerProvider, TransactionManager transactionManager)
Copyright © 2010–2023. All rights reserved.