Can somebody suggest a solution for an URCap to detect what other URCap(s) are installed?
all URCaps are stored in the hidden .urcaps folder of your root directory.
So a way to detect them on the java layer is simply using the File - .list()method on that directory😉
Thank You, that is a possible solution.
We are working on a more elegant solution, the candidates are:
- Make some services from a bundle available for other bundle(s) - that should make possible the inter-bundle communication
- The bundle context contains information about the other installed bundle, so in Activator we can detect the names of the other installed bundles
We should use the possibilities of the OSGI (Apache Felix based) bundles.
in this case,
should fit your needs
I was thinking on something like this.