Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » P2 » How to notify changes in bundle cache?
How to notify changes in bundle cache? [message #648590] Thu, 13 January 2011 10:27
Eclipse User
Originally posted by: r.zozmann.exxcellent.de

Hello,

i have a bundle implementing functionality using a persistent cache in
the workspace. This cache contains also url's pointing to resources
(like icon's) in other bundles. Mostly that url's are located in the
bundle cache
(bundleentry://3382.fwk20287235/icons/full/obj16/Package.gif as example).
After an update of bundles (via update manager) many of these entries
are invalid, so i want to rebuild my own persistent cache in case of
add/remove/update of bundles. But i cannot find any (OSGI) service or
API to register a listener for changes in the bundle cache or (more
general) the platform/installation.
Can anybody tell me a way how i can get notifications about that changes?

Thanks
Ralf
Previous Topic:Uninstallation of optional features problem (P2 API usage)
Next Topic:P2 Errors when two instances share same configuration
Goto Forum:
  


Current Time: Thu Jul 24 14:01:09 EDT 2014

Powered by FUDForum. Page generated in 0.05996 seconds