This class launches an OSGi framework and obtains the system packages and capabilities provided by it.
It takes 2 arguments:
- 1st argument: the file name of a properties file containing the properties to use to initialise the framework
- 2nd argument: the file name to write the result into. This will also be written in the form of a properties file.
After obtaining the values, the launched framework is stopped.