com.ibm.di.osgi
Class OSGiLauncher

java.lang.Object
  extended by com.ibm.di.osgi.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 Summary
 java.lang.ClassLoader getFrameworkClassLoader()
           
 java.lang.Object getSystemBundleContext()
           
protected  java.util.Properties loadProperties(java.net.URL resource)
           
 void start()
          Starts the OSGi Framework.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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)