Hi,
i am digging a bit into autowiring singleton beans into analysis engines. In comparison to the efforts in the uima-spring project, I am now able - to autowire anything that is known in the application context - run SimplePipeline.runPipeline under certain conditions (uima-spring merely instantiated analysis-engines, while collectionreader is working for me now, too) You can see the current state in https://github.com/helt/uimafit-spring-experiments . The problem is the following: In the AE instances of MyAutowiredAnalysisEngine, the @Autowired ExampleService is being injected (by spring), but the @ConfigurationParameter ARBITRARY_BUT_CERTAINLY_NOT_OVERLOADED_NAME is not. This is kinda awkward, and hopefully this is fixable. And I am thankful for every hint. The parameters are being picked up by uimafit as the should. (The AE-Description does contain the correct parameters in its metadata) but when it comes to instantiation, they go lost. I suspect UIMAFramework : lines 318 -> 331 -> 279 to be somehow guilty, but tbh, I dont have enough knowledge how uima interally works. I currently assume that the wrong UIMAFramework_impl is being used. Can anyone confirm this? Does anybody have any ideas how to tackle that? Best regards, Helt
