@groovy.transform.CompileStatic @org.springframework.context.annotation.Configuration @org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean(value: MongoDatastore) @org.springframework.boot.autoconfigure.AutoConfigureAfter(value: MongoAutoConfiguration) class MongoDbGormAutoConfiguration extends java.lang.Object implements org.springframework.context.ApplicationContextAware
Auto configurer that configures GORM for MongoDB for use in Spring Boot
Modifiers | Name | Description |
---|---|---|
private org.springframework.context.ConfigurableApplicationContext |
applicationContext |
|
private com.mongodb.client.MongoClient |
mongo |
|
private com.mongodb.MongoClientSettings |
mongoOptions |
|
private org.springframework.boot.autoconfigure.mongo.MongoProperties |
mongoProperties |
Type | Name and description |
---|---|
org.springframework.context.ConfigurableApplicationContext |
applicationContext |
com.mongodb.client.MongoClient |
mongo |
com.mongodb.MongoClientSettings |
mongoOptions |
Constructor and description |
---|
MongoDbGormAutoConfiguration
() |
Type Params | Return Type | Name and description |
---|---|---|
|
MongoDatastore |
mongoDatastore() |
|
org.springframework.transaction.PlatformTransactionManager |
mongoTransactionManager() |
|
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext) |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#wait(), 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