Package com.google.protobuf
Class ExtensionRegistryFactory
java.lang.Object
com.google.protobuf.ExtensionRegistryFactory
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 Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ExtensionRegistryLitecreate()Construct a new, empty instance.static ExtensionRegistryLiteGet the unmodifiable singleton empty instance.private static final ExtensionRegistryLiteinvokeSubclassFactory(String methodName) (package private) static booleanisFullRegistry(ExtensionRegistryLite registry) (package private) static Class<?>
-
Field Details
-
FULL_REGISTRY_CLASS_NAME
- See Also:
-
EXTENSION_REGISTRY_CLASS
-
-
Constructor Details
-
ExtensionRegistryFactory
ExtensionRegistryFactory()
-
-
Method Details
-
reflectExtensionRegistry
-
create
Construct a new, empty instance. -
createEmpty
Get the unmodifiable singleton empty instance. -
isFullRegistry
-
invokeSubclassFactory
-