@ConditionalOnBean(value=javax.persistence.EntityManagerFactory.class) @Configuration public class JpaAutoConfiguration extends Object
Constructor and Description |
---|
JpaAutoConfiguration() |
Modifier and Type | Method and Description |
---|---|
EntityManagerProvider |
entityManagerProvider() |
JpaSagaStore |
sagaStore(Serializer serializer,
EntityManagerProvider entityManagerProvider) |
TokenStore |
tokenStore(Serializer serializer,
EntityManagerProvider entityManagerProvider) |
@ConditionalOnMissingBean @Bean public EntityManagerProvider entityManagerProvider()
@ConditionalOnMissingBean @Bean public TokenStore tokenStore(Serializer serializer, EntityManagerProvider entityManagerProvider)
@ConditionalOnMissingBean(value=SagaStore.class) @Bean public JpaSagaStore sagaStore(Serializer serializer, EntityManagerProvider entityManagerProvider)
Copyright © 2010–2019. All rights reserved.