Hi,

uimaFIT uses Spring only to scan the classpath for descriptors when the 
automatic type detection is used. The dependency injection part is not using 
Spring. We could probably implement our component initialization code using 
utility code from Spring though. Afaik UIMA-AS is Spring-based.

-- Richard



Am 19.03.2011 um 16:02 schrieb "Tommaso Teofili" <[email protected]>:

> Hi Alex,
> I think you could take inspiration from the (Spring based) DI support in
> uimaFIT [1], even if, personally, I'd recommend the use of Guice instead of
> Spring.
> My 2 cents,
> Tommaso
> 
> [1] : http://code.google.com/p/uimafit/
> 
> 2011/3/18 Alex Chaphiv <[email protected]>
> 
>> Hi,
>> 
>> I have several annotators that require objects that are rather complex to
>> build.
>> I've been able to get around this using by using ExternalResources with
>> custom
>> api interfaces, but it requires a lot of boilerplate and doesn't allow for
>> sharing of dependencies between ExternalResources.
>> 
>> So what would be the best way to get around this?  Even better, is there
>> any
>> support for Spring or Guice?
>> 
>> 

Reply via email to