public class OSGiComponentLoader extends Object implements org.osgi.framework.SynchronousBundleListener
Constructor and Description |
---|
OSGiComponentLoader(OSGiRuntimeService runtime) |
Modifier and Type | Method and Description |
---|---|
void |
bundleChanged(org.osgi.framework.BundleEvent event) |
static void |
bundleDebug(String msg,
String name)
Prints out a debug message for debugging bundles.
|
static String |
bundleEventAsString(int eventType)
Used for generating good debug info.
|
static String |
bundleStateAsString(int state)
Used for generating good debug info.
|
void |
install() |
void |
uninstall() |
public OSGiComponentLoader(OSGiRuntimeService runtime)
public void install()
public void uninstall()
public void bundleChanged(org.osgi.framework.BundleEvent event)
bundleChanged
in interface org.osgi.framework.BundleListener
public static String bundleStateAsString(int state)
state
- bitwise-or of UNINSTALLED, INSTALLED, RESOLVED, STARTING,
STOPPING, and ACTIVEpublic static String bundleEventAsString(int eventType)
eventType
- INSTALLED, STARTED,STOPPED, UNINSTALLED,UPDATEDCopyright © 2013 Nuxeo SA. All Rights Reserved.