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.BundleListenerpublic 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,UPDATEDpublic static void bundleDebug(String msg, String name)
msg - the debug message with a %s in it which will be replaced by the component namename - the component nameCopyright © 2015 Nuxeo SA. All rights reserved.