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 Details

    • ExtensionRegistryFactory

      public ExtensionRegistryFactory()
  • Method Details

    • extensionRegistry

      @Singleton protected com.google.protobuf.ExtensionRegistry extensionRegistry()
      Constructs the extension registry.
      Returns:
      The extension registry