Richard Zowalla created OPENNLP-1971:
----------------------------------------

             Summary: 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


{{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)

Reply via email to