Class OSGiFrameworkLauncher
- java.lang.Object
-
- com.sun.enterprise.glassfish.bootstrap.osgi.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 Summary
Constructors Constructor Description OSGiFrameworkLauncher(Properties properties)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> T
getService(Class<T> type)
org.osgi.framework.launch.Framework
launchOSGiFrameWork()
-
-
-
Constructor Detail
-
OSGiFrameworkLauncher
public OSGiFrameworkLauncher(Properties properties)
-
-