|
Re: Eclipse contexts & Gemini blueprint [message #991088 is a reply to message #989974] |
Mon, 17 December 2012 10:36 |
Eclipse User |
|
|
|
Eclipse DI will give you services in the OSGi level. I'm not sure how these spring beans are registered in the OSGi layer but the fact that you can not inject them from eclipse means that they are not registered as OSGi services.
If I remember correctly you can not get IECs from the OSGi level. If you want your beans to communicate with the UI you can either supply a "central" declarative service which both "branches" (Eclipse and blueprint) can access or use the EventAdmin and have your beans put their stuff in the event bus and then subscribe for them through the IEventBroker in the Eclipse part. This should work because the EventAdmin is global for the whole OSGi runtime.
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03757 seconds