@Configuration(proxyBeanMethods=false)
@EnableConfigurationProperties(value={org.springframework.boot.autoconfigure.mongo.MongoProperties.class,EmbeddedMongoProperties.class})
@AutoConfigureBefore(value={org.springframework.boot.autoconfigure.mongo.MongoAutoConfiguration.class,org.springframework.boot.autoconfigure.mongo.embedded.EmbeddedMongoAutoConfiguration.class})
@ConditionalOnClass(value={com.mongodb.MongoClientSettings.class,de.flapdoodle.embed.mongo.transitions.Mongod.class})
@Import(value={de.flapdoodle.embed.mongo.spring.autoconfigure.EmbeddedMongoAutoConfiguration.EmbeddedMongoClientDependsOnBeanFactoryPostProcessor.class,de.flapdoodle.embed.mongo.spring.autoconfigure.EmbeddedMongoAutoConfiguration.EmbeddedReactiveStreamsMongoClientDependsOnBeanFactoryPostProcessor.class})
public class EmbeddedMongoAutoConfiguration
extends Object
Auto-configuration for Embedded Mongo.
copy of @EmbeddedMongoAutoConfiguration| Constructor and Description |
|---|
EmbeddedMongoAutoConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.beans.factory.config.BeanPostProcessor |
fixTransactionAndAuth(EmbeddedMongoProperties embeddedProperties,
org.springframework.boot.autoconfigure.mongo.MongoProperties mongoProperties) |
de.flapdoodle.embed.mongo.transitions.Mongod |
mongod(de.flapdoodle.embed.mongo.commands.MongodArguments mongodArguments,
de.flapdoodle.embed.process.io.ProcessOutput processOutput,
de.flapdoodle.embed.mongo.config.Net net,
de.flapdoodle.embed.process.io.progress.ProgressListener progressListener,
EmbeddedMongoProperties embeddedProperties) |
de.flapdoodle.embed.mongo.commands.MongodArguments |
mongodArguments() |
de.flapdoodle.embed.mongo.config.Net |
net(org.springframework.context.ApplicationContext context,
org.springframework.boot.autoconfigure.mongo.MongoProperties properties) |
de.flapdoodle.embed.process.io.ProcessOutput |
processOutput() |
de.flapdoodle.embed.process.io.progress.ProgressListener |
progressListener() |
de.flapdoodle.embed.mongo.distribution.IFeatureAwareVersion |
version(EmbeddedMongoProperties embeddedProperties) |
@Bean @ConditionalOnMissingBean public de.flapdoodle.embed.mongo.distribution.IFeatureAwareVersion version(EmbeddedMongoProperties embeddedProperties)
@Bean
public de.flapdoodle.embed.mongo.config.Net net(org.springframework.context.ApplicationContext context,
org.springframework.boot.autoconfigure.mongo.MongoProperties properties)
throws IOException
IOException@Bean
@ConditionalOnMissingBean
public de.flapdoodle.embed.mongo.transitions.Mongod mongod(de.flapdoodle.embed.mongo.commands.MongodArguments mongodArguments,
de.flapdoodle.embed.process.io.ProcessOutput processOutput,
de.flapdoodle.embed.mongo.config.Net net,
de.flapdoodle.embed.process.io.progress.ProgressListener progressListener,
EmbeddedMongoProperties embeddedProperties)
@Bean @ConditionalOnMissingBean public de.flapdoodle.embed.process.io.progress.ProgressListener progressListener()
@Bean @ConditionalOnMissingBean public de.flapdoodle.embed.process.io.ProcessOutput processOutput()
@Bean @ConditionalOnMissingBean public de.flapdoodle.embed.mongo.commands.MongodArguments mongodArguments()
@Bean public org.springframework.beans.factory.config.BeanPostProcessor fixTransactionAndAuth(EmbeddedMongoProperties embeddedProperties, org.springframework.boot.autoconfigure.mongo.MongoProperties mongoProperties)
Copyright © 2024. All rights reserved.