Class OSGiLauncher


  • public class OSGiLauncher
    extends java.lang.Object
    This class is used to start the OSGi Framework. The class expects that the OSGi Framework is located in the "osgi" folder under the TDI install dir. The configuration area will be based off of the TdI install dir and the instance area will based off of the Solution Directory to keep the configuration independent for each instance.

    Note: This class is for internal usage only. Any dependency from the end-user will not be supported. Changes to this class will happen without a warning.
    Since:
    7.1
    • Method Detail

      • start

        public void start()
        Starts the OSGi Framework. The class must be initialized before the calling this method.
      • getFrameworkClassLoader

        public java.lang.ClassLoader getFrameworkClassLoader()
        Returns:
        the frameworkClassLoader
      • getSystemBundleContext

        public java.lang.Object getSystemBundleContext()
        Returns:
        the systemBundleContext
      • loadProperties

        protected java.util.Properties loadProperties​(java.net.URL resource)