Class ExtensionRegistryFactory

java.lang.Object
com.google.protobuf.ExtensionRegistryFactory

final class ExtensionRegistryFactory extends Object
A factory object to create instances of ExtensionRegistryLite.

This factory detects (via reflection) if the full (non-Lite) protocol buffer libraries are available, and if so, the instances returned are actually ExtensionRegistry.

  • Field Details

    • FULL_REGISTRY_CLASS_NAME

      static final String FULL_REGISTRY_CLASS_NAME
      See Also:
    • EXTENSION_REGISTRY_CLASS

      static final Class<?> EXTENSION_REGISTRY_CLASS
  • Constructor Details

    • ExtensionRegistryFactory

      ExtensionRegistryFactory()
  • Method Details