@Configuration(proxyBeanMethods=false) @ConditionalOnClass(value={ReactiveFirestoreTransactionManager.class,com.google.firestore.v1.FirestoreGrpc.FirestoreStub.class,reactor.core.publisher.Flux.class}) @ConditionalOnProperty(value="spring.cloud.gcp.firestore.enabled", matchIfMissing=true) @AutoConfigureBefore(value=org.springframework.boot.autoconfigure.transaction.TransactionAutoConfiguration.class) @AutoConfigureAfter(value=GcpFirestoreAutoConfiguration.class) public class FirestoreTransactionManagerAutoConfiguration extends Object
ReactiveFirestoreTransactionManager
.Constructor and Description |
---|
FirestoreTransactionManagerAutoConfiguration() |
Modifier and Type | Method and Description |
---|---|
ReactiveFirestoreTransactionManager |
firestoreTransactionManager(com.google.firestore.v1.FirestoreGrpc.FirestoreStub firestoreStub,
FirestoreClassMapper classMapper,
GcpFirestoreProperties gcpFirestoreProperties,
GcpProjectIdProvider projectIdProvider) |
public FirestoreTransactionManagerAutoConfiguration()
@Bean @ConditionalOnMissingBean public ReactiveFirestoreTransactionManager firestoreTransactionManager(com.google.firestore.v1.FirestoreGrpc.FirestoreStub firestoreStub, FirestoreClassMapper classMapper, GcpFirestoreProperties gcpFirestoreProperties, GcpProjectIdProvider projectIdProvider)
Copyright © 2021. All rights reserved.