felix-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Munteanu <rmunt...@adobe.com>
Subject Safe to retain references to OSGi bundles?
Date Thu, 18 Apr 2013 13:24:22 GMT

Is it safe to retain references to OSGi bundles and - even more - use them as map keys?

I make sure that I don't retain references to stale bundles by using a BundleTracker, but
I haven't found anywhere whether this is safe to do or not. The reason I need to hold on to
the bundle is to load classes using that its classloader at a later point in time.



To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org

View raw message