reckart opened a new issue, #226:
URL: https://github.com/apache/uima-uimaj/issues/226

   **Is your feature request related to a problem? Please describe.**
   uimaFIT provides an auto-detection mechanism for type system descriptors and 
other descriptors to auto-load them and auto-initialize CASes and AEs with 
them. This mechanism has some drawbacks: 
   
   1) a dependency on Spring
   2) in an OSGi environment, we don't get to the contents of the `META-INF` 
folder because it cannot be exported from bundles
   
   **Describe the solution you'd like**
   Java provides a standard "plugin" mechanism built around the `ServiceLoader` 
class. This can also be used in OSGi contexts with the help of 
[spifly](https://aries.apache.org/documentation/modules/spi-fly.html). uimaFIT 
could use that mechanism to locate descriptors.
   It would be nice if the interfaces to support that would be in UIMAJ so that 
eventually the auto-detection mechanism might also migrate to UIMAJ.
   
   **Describe alternatives you've considered**
   Keep the interfaces in uimaFIT.
   
   **Additional context**
   * https://github.com/apache/uima-uimafit/issues/195
   
   ----
   
   - [x] TypeSystemDescriptionProvider interface
   - [x] TypePrioritiesProvider interface
   - [x] FsIndexCollectionProvider interface
   - [x] JCasClassProvider interface
   - [x] Make use of the JCasClassProvider interface when loading JCas classes
   - [x] Documentation
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@uima.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to