This is really a question that, to answer it in a meaningful way, requires a bit more context. Why do you want to do “bundle usage counting” and what exactly do you mean by it?
Is there an existing ability in the OSGi environment to keep a bundle usage count? It is not difficult to create my own method and storage, but if something already exists! I did think I could use the Bundle data area but it seems that different frameworks lay it out differently. Aries subsystems has bundle counting but it is a bit heavy for my use case. Any suggestions?
_______________________________________________ OSGi Developer Mail List osgi-dev@mail.osgi.org https://mail.osgi.org/mailman/listinfo/osgi-dev