Class DefaultCodecRegistryBuilder
java.lang.Object
io.micronaut.configuration.mongo.core.DefaultCodecRegistryBuilder
- All Implemented Interfaces:
CodecRegistryBuilder
@Prototype
@Requires(missingBeans=CodecRegistryBuilder.class)
@Internal
public final class DefaultCodecRegistryBuilder
extends Object
implements CodecRegistryBuilder
Default builder.
- Since:
- 4.3.0
- Author:
- Denis Stepanov
-
Constructor Summary
ConstructorDescriptionDefaultCodecRegistryBuilder
(io.micronaut.context.env.Environment environment, io.micronaut.context.BeanProvider<io.micronaut.serde.SerdeRegistry> serdeRegistry) -
Method Summary
Modifier and TypeMethodDescriptionorg.bson.codecs.configuration.CodecRegistry
build
(AbstractMongoConfiguration configuration) BuildCodecRegistry
.
-
Constructor Details
-
DefaultCodecRegistryBuilder
public DefaultCodecRegistryBuilder(io.micronaut.context.env.Environment environment, io.micronaut.context.BeanProvider<io.micronaut.serde.SerdeRegistry> serdeRegistry)
-
-
Method Details
-
build
Description copied from interface:CodecRegistryBuilder
BuildCodecRegistry
.- Specified by:
build
in interfaceCodecRegistryBuilder
- Parameters:
configuration
- The configuration- Returns:
- new codec registry
-