@Experimental public interface CoderProviderRegistrar
Coder
creators have the ability to automatically have their coders
registered with this SDK by creating a ServiceLoader
entry and a concrete implementation
of this interface.
It is optional but recommended to use one of the many build time tools such as AutoService
to generate the necessary META-INF files automatically.
Modifier and Type | Method and Description |
---|---|
java.util.List<CoderProvider> |
getCoderProviders()
Returns a list of
coder providers which will be registered by default
within each coder registry instance. |
java.util.List<CoderProvider> getCoderProviders()
coder providers
which will be registered by default
within each coder registry
instance.
See CoderProviders
for convenience methods to construct a CoderProvider
.