@groovy.transform.CompileStatic @org.springframework.context.annotation.Configuration @ConditionalOnMissingBean(value: MongoDatastore) @AutoConfigureAfter(value: MongoAutoConfiguration) class MongoDbGormAutoConfiguration extends java.lang.Object implements ApplicationContextAware
Auto configurer that configures GORM for MongoDB for use in Spring Boot
Type | Name and description |
---|---|
ConfigurableApplicationContext |
applicationContext |
MongoClient |
mongo |
MongoClientSettings |
mongoOptions |
Constructor and description |
---|
MongoDbGormAutoConfiguration() |
Type Params | Return Type | Name and description |
---|---|---|
|
MongoDatastore |
mongoDatastore() |
|
PlatformTransactionManager |
mongoTransactionManager() |
|
void |
setApplicationContext(ApplicationContext applicationContext) |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Groovy Documentation