Class FirestoreTransactionManagerAutoConfiguration
java.lang.Object
com.google.cloud.spring.autoconfigure.firestore.FirestoreTransactionManagerAutoConfiguration
@AutoConfiguration
@ConditionalOnClass({ReactiveFirestoreTransactionManager.class,com.google.firestore.v1.FirestoreGrpc.FirestoreStub.class,reactor.core.publisher.Flux.class})
@ConditionalOnProperty(value="spring.cloud.gcp.firestore.enabled",
matchIfMissing=true)
@AutoConfigureBefore(org.springframework.boot.autoconfigure.transaction.TransactionAutoConfiguration.class)
@AutoConfigureAfter(GcpFirestoreAutoConfiguration.class)
public class FirestoreTransactionManagerAutoConfiguration
extends Object
Auto-configuration for
ReactiveFirestoreTransactionManager
.- Since:
- 2.0.5
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfirestoreTransactionManager
(com.google.firestore.v1.FirestoreGrpc.FirestoreStub firestoreStub, FirestoreClassMapper classMapper, GcpFirestoreProperties gcpFirestoreProperties, GcpProjectIdProvider projectIdProvider)
-
Constructor Details
-
FirestoreTransactionManagerAutoConfiguration
public FirestoreTransactionManagerAutoConfiguration()
-
-
Method Details
-
firestoreTransactionManager
@Bean @ConditionalOnMissingBean public ReactiveFirestoreTransactionManager firestoreTransactionManager(com.google.firestore.v1.FirestoreGrpc.FirestoreStub firestoreStub, FirestoreClassMapper classMapper, GcpFirestoreProperties gcpFirestoreProperties, GcpProjectIdProvider projectIdProvider)
-