You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@uima.apache.org by Ar...@bka.bund.de on 2013/06/19 12:51:24 UTC
Java objectes living outside and inside of a pipeline
Hi,
I'd like to use java objectes in a pipeline which are constructed before the pipeline is run and which are still there, after the pipeline has finished its job. Is this even possible?
Cheers,
Armin
Re: Java objectes living outside and inside of a pipeline
Posted by Richard Eckart de Castilho <ri...@gmail.com>.
UIMA doesn't like using objects in a pipeline that it did not
instantiate itself.
There are ways though, e.g. the uimaFIT
SimpleNamedResourceManager described here
http://uimafit.googlecode.com/svn/tags/uimafit-parent-1.4.0/apidocs/org/uimafit/util/SimpleNamedResourceManager.html
http://markmail.org/message/qcnupdgabemyinec
Alternatively, you could use a static or ThreadLocal variable.
-- Richard
Am 19.06.2013 um 12:51 schrieb <Ar...@bka.bund.de>:
> Hi,
>
> I'd like to use java objectes in a pipeline which are constructed before the pipeline is run and which are still there, after the pipeline has finished its job. Is this even possible?
>
> Cheers,
> Armin