JpaAutoConfiguration
which moved to jakarta.@Deprecated @AutoConfiguration @ConditionalOnBean(value=javax.persistence.EntityManagerFactory.class) @EnableConfigurationProperties(value=TokenStoreProperties.class) @AutoConfigureAfter(value=org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaAutoConfiguration.class) @AutoConfigureBefore(value={JpaAutoConfiguration.class,JdbcAutoConfiguration.class}) public class JpaJavaxAutoConfiguration extends Object
Constructor and Description |
---|
JpaJavaxAutoConfiguration(TokenStoreProperties tokenStoreProperties)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
DeadLetterQueueProviderConfigurerModule |
deadLetterQueueProviderConfigurerModule(EventProcessorProperties eventProcessorProperties,
EntityManagerProvider entityManagerProvider,
TransactionManager transactionManager,
Serializer genericSerializer,
Serializer eventSerializer)
Deprecated.
|
EntityManagerProvider |
entityManagerProvider()
Deprecated.
|
PersistenceExceptionResolver |
persistenceExceptionResolver(DataSource dataSource)
Deprecated.
|
JpaSagaStore |
sagaStore(Serializer serializer,
EntityManagerProvider entityManagerProvider)
Deprecated.
|
TokenStore |
tokenStore(Serializer serializer,
EntityManagerProvider entityManagerProvider)
Deprecated.
|
public JpaJavaxAutoConfiguration(TokenStoreProperties tokenStoreProperties)
@Bean @ConditionalOnMissingBean public EntityManagerProvider entityManagerProvider()
@Bean @ConditionalOnMissingBean public TokenStore tokenStore(Serializer serializer, EntityManagerProvider entityManagerProvider)
@Lazy @Bean @ConditionalOnMissingBean(value=SagaStore.class) public JpaSagaStore sagaStore(Serializer serializer, EntityManagerProvider entityManagerProvider)
@Bean @ConditionalOnMissingBean @ConditionalOnBean(value=javax.sql.DataSource.class) public PersistenceExceptionResolver persistenceExceptionResolver(DataSource dataSource) throws SQLException
SQLException
@Bean @ConditionalOnMissingBean public DeadLetterQueueProviderConfigurerModule deadLetterQueueProviderConfigurerModule(EventProcessorProperties eventProcessorProperties, EntityManagerProvider entityManagerProvider, TransactionManager transactionManager, Serializer genericSerializer, @Qualifier(value="eventSerializer") Serializer eventSerializer)
Copyright © 2010–2024. All rights reserved.