Uses of Interface
org.springframework.data.mongodb.ReactiveMongoDatabaseFactory
Packages that use ReactiveMongoDatabaseFactory
Package
Description
Spring Data's MongoDB abstraction.
Spring XML namespace configuration for MongoDB specific repositories.
MongoDB core support.
Support for MongoDB GridFS feature.
-
Uses of ReactiveMongoDatabaseFactory in org.springframework.data.mongodb
Methods in org.springframework.data.mongodb that return ReactiveMongoDatabaseFactoryModifier and TypeMethodDescriptionReactiveMongoTransactionManager.getDatabaseFactory()
Get theReactiveMongoDatabaseFactory
that this instance manages transactions for.ReactiveMongoDatabaseFactory.withSession
(com.mongodb.reactivestreams.client.ClientSession session) Obtain aClientSession
bound instance ofReactiveMongoDatabaseFactory
returningMongoDatabase
instances that are aware and bound to the given session.Methods in org.springframework.data.mongodb with parameters of type ReactiveMongoDatabaseFactoryModifier and TypeMethodDescriptionstatic reactor.core.publisher.Mono<com.mongodb.reactivestreams.client.MongoDatabase>
ReactiveMongoDatabaseUtils.getDatabase
(String dbName, ReactiveMongoDatabaseFactory factory) static reactor.core.publisher.Mono<com.mongodb.reactivestreams.client.MongoDatabase>
ReactiveMongoDatabaseUtils.getDatabase
(String dbName, ReactiveMongoDatabaseFactory factory, SessionSynchronization sessionSynchronization) Obtain thedatabase
with given name form the givenfactory
.static reactor.core.publisher.Mono<com.mongodb.reactivestreams.client.MongoDatabase>
ReactiveMongoDatabaseUtils.getDatabase
(ReactiveMongoDatabaseFactory factory) static reactor.core.publisher.Mono<com.mongodb.reactivestreams.client.MongoDatabase>
ReactiveMongoDatabaseUtils.getDatabase
(ReactiveMongoDatabaseFactory factory, SessionSynchronization sessionSynchronization) Obtain the defaultdatabase
form the givenfactory
.static reactor.core.publisher.Mono<Boolean>
ReactiveMongoDatabaseUtils.isTransactionActive
(ReactiveMongoDatabaseFactory databaseFactory) Check if theReactiveMongoDatabaseFactory
is actually bound to aClientSession
that has an active transaction, or if aTransactionSynchronization
has been registered for theresource
and if the associatedClientSession
has anactive transaction
.void
ReactiveMongoTransactionManager.setDatabaseFactory
(ReactiveMongoDatabaseFactory databaseFactory) Set theReactiveMongoDatabaseFactory
that this instance should manage transactions for.Constructors in org.springframework.data.mongodb with parameters of type ReactiveMongoDatabaseFactoryModifierConstructorDescriptionReactiveMongoTransactionManager
(ReactiveMongoDatabaseFactory databaseFactory) Create a newReactiveMongoTransactionManager
obtaining sessions from the givenReactiveMongoDatabaseFactory
.ReactiveMongoTransactionManager
(ReactiveMongoDatabaseFactory databaseFactory, com.mongodb.TransactionOptions options) Create a newReactiveMongoTransactionManager
obtaining sessions from the givenReactiveMongoDatabaseFactory
applying the givenoptions
, if present, when starting a new transaction.ReactiveMongoTransactionManager
(ReactiveMongoDatabaseFactory databaseFactory, MongoTransactionOptionsResolver transactionOptionsResolver, MongoTransactionOptions defaultTransactionOptions) Create a newReactiveMongoTransactionManager
obtaining sessions from the givenReactiveMongoDatabaseFactory
applying the givenoptions
, if present, when starting a new transaction. -
Uses of ReactiveMongoDatabaseFactory in org.springframework.data.mongodb.config
Methods in org.springframework.data.mongodb.config that return ReactiveMongoDatabaseFactoryModifier and TypeMethodDescriptionAbstractReactiveMongoConfiguration.reactiveMongoDbFactory()
Creates aReactiveMongoDatabaseFactory
to be used by theReactiveMongoOperations
.Methods in org.springframework.data.mongodb.config with parameters of type ReactiveMongoDatabaseFactoryModifier and TypeMethodDescriptionAbstractReactiveMongoConfiguration.mappingMongoConverter
(ReactiveMongoDatabaseFactory databaseFactory, MongoCustomConversions customConversions, MongoMappingContext mappingContext) AbstractReactiveMongoConfiguration.reactiveMongoTemplate
(ReactiveMongoDatabaseFactory databaseFactory, MappingMongoConverter mongoConverter) CreatesReactiveMongoOperations
. -
Uses of ReactiveMongoDatabaseFactory in org.springframework.data.mongodb.core
Classes in org.springframework.data.mongodb.core that implement ReactiveMongoDatabaseFactoryModifier and TypeClassDescriptionclass
Factory to createMongoDatabase
instances from aMongoClient
instance.Methods in org.springframework.data.mongodb.core that return ReactiveMongoDatabaseFactoryModifier and TypeMethodDescriptionReactiveMongoTemplate.getMongoDatabaseFactory()
SimpleReactiveMongoDatabaseFactory.withSession
(com.mongodb.reactivestreams.client.ClientSession session) Constructors in org.springframework.data.mongodb.core with parameters of type ReactiveMongoDatabaseFactoryModifierConstructorDescriptionReactiveMongoTemplate
(ReactiveMongoDatabaseFactory mongoDatabaseFactory) Constructor used for a basic template configuration.ReactiveMongoTemplate
(ReactiveMongoDatabaseFactory mongoDatabaseFactory, MongoConverter mongoConverter) Constructor used for a basic template configuration.ReactiveMongoTemplate
(ReactiveMongoDatabaseFactory mongoDatabaseFactory, MongoConverter mongoConverter, Consumer<Throwable> subscriptionExceptionHandler) Constructor used for a basic template configuration. -
Uses of ReactiveMongoDatabaseFactory in org.springframework.data.mongodb.gridfs
Constructors in org.springframework.data.mongodb.gridfs with parameters of type ReactiveMongoDatabaseFactoryModifierConstructorDescriptionReactiveGridFsTemplate
(DataBufferFactory dataBufferFactory, ReactiveMongoDatabaseFactory dbFactory, MongoConverter converter, String bucket) Creates a newReactiveGridFsTemplate
using the givenDataBufferFactory
,ReactiveMongoDatabaseFactory
andMongoConverter
.ReactiveGridFsTemplate
(ReactiveMongoDatabaseFactory dbFactory, MongoConverter converter) Creates a newReactiveGridFsTemplate
using the givenReactiveMongoDatabaseFactory
andMongoConverter
.ReactiveGridFsTemplate
(ReactiveMongoDatabaseFactory dbFactory, MongoConverter converter, String bucket) Creates a newReactiveGridFsTemplate
using the givenReactiveMongoDatabaseFactory
andMongoConverter
.