Package io.micronaut.protobuf.codec
Class ExtensionRegistryFactory
java.lang.Object
io.micronaut.protobuf.codec.ExtensionRegistryFactory
@Factory
@Requires(classes=com.google.protobuf.ExtensionRegistry.class)
public class ExtensionRegistryFactory
extends Object
Creates the default
ExtensionRegistry
.- Since:
- 1.0
- Author:
- graemerocher
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected com.google.protobuf.ExtensionRegistry
Constructs the extension registry.
-
Constructor Details
-
ExtensionRegistryFactory
public ExtensionRegistryFactory()
-
-
Method Details
-
extensionRegistry
@Singleton protected com.google.protobuf.ExtensionRegistry extensionRegistry()Constructs the extension registry.- Returns:
- The extension registry
-