Class OSGiFrameworkLauncher


  • public class OSGiFrameworkLauncher
    extends Object
    Utility class which takes care of launching OSGi framework. It lauches the framework in a daemon thread, because typically framework spawned threads inherit parent thread's daemon status. It also provides a utility method to get hold of OSGi services registered in the system.
    Author:
    [email protected]
    • Constructor Detail

      • OSGiFrameworkLauncher

        public OSGiFrameworkLauncher​(Properties properties)
    • Method Detail

      • launchOSGiFrameWork

        public org.osgi.framework.launch.Framework launchOSGiFrameWork()
                                                                throws Exception
        Throws:
        Exception