[
https://issues.apache.org/jira/browse/OPENNLP-1971?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Richard Zowalla updated OPENNLP-1971:
-------------------------------------
Fix Version/s: 3.1.0
> Resolve CLI format factories through providers
> ----------------------------------------------
>
> Key: OPENNLP-1971
> URL: https://issues.apache.org/jira/browse/OPENNLP-1971
> Project: OpenNLP
> Issue Type: Improvement
> Reporter: Richard Zowalla
> Priority: Major
> Labels: spi
> Fix For: 3.1.0
>
>
> {{StreamFactoryRegistry}} registers the built\-in {{ObjectStreamFactory}}
> implementations in code and loads other formats by class name.
> Sketch:
> \* {{ObjectStreamFactoryProvider}}, built\-in formats registered by name.
> \* Third\-party formats register a provider and appear in the CLI without
> code changes in opennlp\-formats.
> \* Decide on deprecating {{ExtensionLoader.instantiateExtension\(Class,
> String\)}} once no call site needs it.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)