public class MongoCustomConversions extends CustomConversions
MongoCustomConversions also act as factory for
SimpleTypeHolderCustomConversions,
SimpleTypeHolder,
MongoSimpleTypes| Modifier and Type | Class and Description |
|---|---|
static class |
MongoCustomConversions.MongoConverterConfigurationAdapter
MongoCustomConversions.MongoConverterConfigurationAdapter encapsulates creation of
CustomConversions.ConverterConfiguration with MongoDB specifics. |
CustomConversions.ConverterConfiguration, CustomConversions.ConverterRegistrationIntent, CustomConversions.StoreConversions| Modifier | Constructor and Description |
|---|---|
|
MongoCustomConversions(List<?> converters)
Create a new
MongoCustomConversions instance registering the given converters. |
protected |
MongoCustomConversions(MongoCustomConversions.MongoConverterConfigurationAdapter conversionConfiguration)
Create a new
MongoCustomConversions given MongoCustomConversions.MongoConverterConfigurationAdapter. |
| Modifier and Type | Method and Description |
|---|---|
static MongoCustomConversions |
create(Consumer<MongoCustomConversions.MongoConverterConfigurationAdapter> configurer)
Functional style
CustomConversions creation giving users a convenient way
of configuring store specific capabilities by providing deferred hooks to what will be configured when creating the
instance. |
getCustomWriteTarget, getCustomWriteTarget, getSimpleTypeHolder, hasCustomReadTarget, hasCustomWriteTarget, hasCustomWriteTarget, isSimpleType, registerConvertersInpublic MongoCustomConversions(List<?> converters)
MongoCustomConversions instance registering the given converters.converters - must not be null.protected MongoCustomConversions(MongoCustomConversions.MongoConverterConfigurationAdapter conversionConfiguration)
MongoCustomConversions given MongoCustomConversions.MongoConverterConfigurationAdapter.conversionConfiguration - must not be null.public static MongoCustomConversions create(Consumer<MongoCustomConversions.MongoConverterConfigurationAdapter> configurer)
CustomConversions creation giving users a convenient way
of configuring store specific capabilities by providing deferred hooks to what will be configured when creating the
instance.configurer - must not be null.Copyright © 2011–2022 Pivotal Software, Inc.. All rights reserved.