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?
Question&Answers:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…