void function ( ExtensionRegistryLite arg0 ) { globalRegistry = checkNotNull ( arg0 , "srini_string" ) ; }
sets the global registry for proto marshalling shared across all servers and clients . warning : this api will likely change over time . it is not possible to have separate registries per process , server , channel , service , or method . this is intentional until there is a more appropriate api to set them . warning : do not modify the extension registry after setting it . it is thread safe to call #setextensionregistry , but not to modify the underlying object . if you need custom parsing behavior for protos , you will need to make your own methoddescriptor.marhsaller for the time being . concode_field_sep ExtensionRegistryLite globalRegistry concode_field_sep Marshaller<T> marshaller concode_elem_sep Metadata.BinaryMarshaller<T> metadataMarshaller