uima-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hendrik Lücke-Tieke <h...@outlook.com>
Subject AW: spring (boot) autowiring into custom AnalysisEngines via uimafit
Date Sat, 13 Feb 2016 15:31:47 GMT
Hi,

Okay, I updated the project. 
New feature:
- Activate @Autowired injections in a spring boot application using @EnableUimaAutowiring

Best,
hendrik

> -----Ursprüngliche Nachricht-----
> Von: Hendrik Lücke-Tieke [mailto:helt@outlook.com]
> Gesendet: Samstag, 13. Februar 2016 12:32
> An: user@uima.apache.org
> Betreff: AW: spring (boot) autowiring into custom AnalysisEngines via uimafit
> 
> Hi,
> 
> > What components are you using? If you wrote your own components, make
> > sure you are deriving from the base-classes in uimaFIT, not the ones
> > in UIMA (same names, different packages). Also make sure to call
> > super.initialize(...) if you override the initialize method, otherwise
> > uimaFIT is unable to inject the parameters into the annotated fields.
> 
> now that is subltle. You are totally right - the AE was not extending the uimafit
> base class...
> 
> ok. Then, spring integration seems to work. Ill do more testing and will update
> the github project accordingly if it makes sense...
> 
> best,
> helt

Mime
View raw message