Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
0.3
-
None
Description
When resolving, Aries has the notion of a local repository, which represents the OSGi framework, and a platform repository, which would usually represent the bundles provided by higher level infrastructure, like an application server. At the moment the platform repository is provided by a blueprint-injected service, which works very cleanly if there's only one platform to be resolved against, but less well otherwise.
We need to add a new method to AriesApplicationResolver which takes in a platform repository and uses it for resolution as an override to the service. (The alternative is to rapidly register and unregister services between calls to the platform repository, which is both awkward and prone to timing failures.)