@Configuration public abstract class AbstractCosmosConfiguration extends CosmosConfigurationSupport
| Modifier and Type | Field and Description |
|---|---|
private com.fasterxml.jackson.databind.ObjectMapper |
objectMapper |
| Constructor and Description |
|---|
AbstractCosmosConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
com.azure.data.cosmos.CosmosClient |
cosmosClient(CosmosDBConfig config) |
CosmosDbFactory |
cosmosDbFactory(CosmosDBConfig config) |
com.azure.data.cosmos.sync.CosmosSyncClient |
cosmosSyncClient(CosmosDBConfig config) |
CosmosTemplate |
cosmosTemplate(CosmosDBConfig config) |
MappingCosmosConverter |
mappingCosmosConverter() |
ReactiveCosmosTemplate |
reactiveCosmosTemplate(CosmosDBConfig config) |
cosmosMappingContext, expressionResolver, getInitialEntitySet, getMappingBasePackages, scanForEntities@Qualifier(value="cosmosdbObjectMapper") @Autowired(required=false) private com.fasterxml.jackson.databind.ObjectMapper objectMapper
@Bean public com.azure.data.cosmos.CosmosClient cosmosClient(CosmosDBConfig config)
@Bean public com.azure.data.cosmos.sync.CosmosSyncClient cosmosSyncClient(CosmosDBConfig config)
@Bean public CosmosDbFactory cosmosDbFactory(CosmosDBConfig config)
@Bean public CosmosTemplate cosmosTemplate(CosmosDBConfig config) throws ClassNotFoundException
ClassNotFoundException@Bean public ReactiveCosmosTemplate reactiveCosmosTemplate(CosmosDBConfig config) throws ClassNotFoundException
ClassNotFoundException@Bean public MappingCosmosConverter mappingCosmosConverter() throws ClassNotFoundException
ClassNotFoundExceptionCopyright © 2020 Microsoft. All rights reserved.