public class OsgiUtil
extends java.lang.Object
Constructor and Description |
---|
OsgiUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
addShutdownHook(java.lang.Runnable shutdownHook)
keep a list of threads to be run when an osgi bundle is deactivated
|
static boolean |
isBrooklynInsideFramework()
Tells if Brooklyn is running in an OSGi environment or not.
|
static void |
shutdown()
run all previously registered shutdown hooks
|
public static boolean isBrooklynInsideFramework()
public static void addShutdownHook(java.lang.Runnable shutdownHook)
public static void shutdown()