Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 327794

Summary: Implement new origin for installed bundle event
Product: [Eclipse Project] Equinox Reporter: Thomas Watson <tjwatson>
Component: FrameworkAssignee: 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 Flags
patch none

Description Thomas Watson CLA 2010-10-14 12:02:38 EDT
When installing a bundle there is currently no way to tell what bundle is installing another bundle.  In OSGi R4.3 a new method is being added to BundleEvent (getOrigin) which will return the bundle which originated the install operation.
Comment 1 Thomas Watson CLA 2010-10-14 12:19:04 EDT
Created attachment 180892 [details]
patch

Patch with new OSGi API and framework impl
Comment 2 Thomas Watson CLA 2010-10-14 16:32:59 EDT
Patch released.