|[equinox-dev] When is DS done loading services?|
I made a post to the Eclipse newcomers group a few weeks ago, but did not get a response. I don’t know if this is the appropriate place for this question, but hopefully someone can point me in the right direction.
We are building a headless RCP application and we would like to use DS to make functionality available. The problem we are running into is that not all of the services we declared through DS get loaded and are visible before our application executes.
For example, I have a service A which needs 0..n instances of
another service B. The issue I'm running into is that if the implementations of
service B are spread across several bundles, then the service A will not have
seen all instances of service B when it is called since the application starts
(and sometimes ends) running before DS is done looking through all the bundles
and registering all the services in the active bundles.
It seems that using the plug-in registry may solve this issue. Is that perhaps a better way to go?
This email and any files transmitted with it are confidential, proprietary and intended solely for the individual or entity to whom they are addressed. If you have received this email in error please delete it immediately.