I need to read the Manifest file, which delivered my class, but when I use:
getClass().getClassLoader().getResources(...)
I get the MANIFEST from the first .jar loaded into the Java Runtime.
My app will be running from an applet or a webstart,
so I will not have access to my own .jar file, I guess.
I actually want to read the Export-package attribute from the .jar which started
the Felix OSGi, so I can expose those packages to Felix. Any ideas?