Eclipse plugins cooperation [message #691102] |
Thu, 30 June 2011 13:52  |
Eclipse User |
|
|
|
I used of OSGi for the several years and now take a look on rcp and eclipse extension mechanism. There are many differences between OSGi services and the most importent difference for me - it is imposible register object in extension registry. When we access to extension point we access to metadata with class name (we can instantiate class with this information), but it is impossible to store the object in the registry. In this case I can not understand how to orginize plugin interop with each other. For example I want to get access from plugin A to the functionality of plugin B, if the plugin B register OSGi service we simple obtain service from registry, but with extension points we can not do this. Only one plugin - the host plugin, who first instantiate the plugin B can access to his interfaces.
The second question, - is possible to use the osgi services in rcp application, forexample to use extension points for using rcp functionality and osgi services for my component interop?
|
|
|
|
Powered by
FUDForum. Page generated in 0.03873 seconds