uima-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Richard Eckart de Castilho (JIRA)" <...@uima.apache.org>
Subject [jira] [Commented] (UIMA-5957) JCasIterable and JCasIterator in SimplePipeline should use the same ResourceManager
Date Mon, 14 Jan 2019 16:02:00 GMT

    [ https://issues.apache.org/jira/browse/UIMA-5957?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16742242#comment-16742242
] 

Richard Eckart de Castilho commented on UIMA-5957:
--------------------------------------------------

Got it. I agree that adding the additional constructor is probably a good idea. I'm cautious
about this because in particular in the factory methods there are many many methods where
in principle an RM could added as a additional parameter, but it would probably lead to a
significant increase in signatures. In this case, it seems reasonable though.

> JCasIterable and JCasIterator in SimplePipeline should use the same ResourceManager
> -----------------------------------------------------------------------------------
>
>                 Key: UIMA-5957
>                 URL: https://issues.apache.org/jira/browse/UIMA-5957
>             Project: UIMA
>          Issue Type: Improvement
>          Components: uimaFIT
>    Affects Versions: 2.4.0uimaFIT
>            Reporter: Peter Kl├╝gl
>            Priority: Major
>
> Using SimplePipeline with JCas cover classes and Ruta leads currently to class loader
switching for each annotator since the JCas and the annotator refer to a different uima class
loader due to the resource managers. Additionally, Ruta needs to perform internal reindexing,
which can lead to observed but undefined problems.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message