| Summary: | Implement BundleWiring(s) support | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] Equinox | Reporter: | Thomas Watson <tjwatson> | ||||||
| Component: | Framework | Assignee: | Thomas Watson <tjwatson> | ||||||
| Status: | RESOLVED FIXED | QA Contact: | |||||||
| Severity: | normal | ||||||||
| Priority: | P3 | ||||||||
| Version: | 3.7 | ||||||||
| Target Milestone: | 3.7 M3 | ||||||||
| Hardware: | PC | ||||||||
| OS: | Mac OS X - Carbon (unsup.) | ||||||||
| Whiteboard: | |||||||||
| Attachments: |
|
||||||||
|
Description
Thomas Watson
Shooting for M2 but may have to wait until after depending on the amount of rework that needs to happen in the bundle loader and aackage admin impl. Created attachment 177965 [details]
initial patch
This patch supports adapting bundles to BundleWiring and BundleWirings (plural) objects. We still need to support the following methods on BundleWirning:
getClassLoader
findEntries
listResources
These three methods will involve adding new API to the framework adaptor SPI. I plan to release this patch to HEAD and continue the work to support these three methods in a separate patch.
The rest of this work will happen in M3. Created attachment 179776 [details]
finished patch
This patch finishes the implementation of BundleWiring for the methods:
getClassLoader
findEntries
listResources
To implement findEntries and listResources new methods are needed on the adaptor API for BundleClassLoader ClassLoaderDelegate and FrameworkAdaptor. The additional methods on ClassLoaderDelegate and FrameworkAdaptor should not cause any issues since these two interfaces are implemented by the framework and the base adaptor. Any hooks which implement their own BundleClassLoader (instead of just using the DefaultClassLoader implementation will need to implement the new methods.
Patch released. |