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 ExtensionRegistryLite
create()
Construct a new, empty instance.static ExtensionRegistryLite
Get the unmodifiable singleton empty instance.private static final ExtensionRegistryLite
invokeSubclassFactory
(String methodName) (package private) static boolean
isFullRegistry
(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
-