2011/7/20 Richard Eckart de Castilho <eckar...@tk.informatik.tu-darmstadt.de
>

> I always thought it would be nice if UIMA would define an extension point
> for such things.
>
> -- Richard
>

I think one of the problems with UIMA and OSGi derives from the different
usage of ClassLoaders in OSGi which make it hard to let an annotator whose
descriptor is defined in one bundle be used from another bundle (i.e. the
one containing the UIMAFrameworkImpl).
This is the reason why in Clerezza I created a factory which made it
possible to pass the ClassLoader as an additional parameter for
instantiating an AE [1].
This is quite "custom" and I don't like it very much to pass ClassLoaders
between bundles however it could be good to implement a
OSGiUIMAFrameworkImpl class which hides such details to the developer who
wants to run UIMA inside OSGi environments.

2011/7/20 Jörn Kottmann <kottm...@gmail.com>

>
> Maybe something we should do for UIMA 3.0, because we might want to
> break backward compatibility for it.
>
>
>
+1
Tommaso


[1] :
http://svn.apache.org/repos/asf/incubator/clerezza/trunk/parent/uima/uima.utils/src/main/java/org/apache/clerezza/uima/utils/UIMAExecutorFactory.java

Reply via email to