Package com.ibm.di.osgi
Class OSGiLauncher
- java.lang.Object
-
- 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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.ClassLoader
getFrameworkClassLoader()
java.lang.Object
getSystemBundleContext()
protected java.util.Properties
loadProperties(java.net.URL resource)
void
start()
Starts the OSGi Framework.
-
-
-
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)
-
-