public class OsgiSystemBundleUtil extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
SYSTEM_BUNDLE_ID
The identifier of the system bundle.
|
| Constructor and Description |
|---|
OsgiSystemBundleUtil() |
| Modifier and Type | Method and Description |
|---|---|
static org.osgi.framework.Bundle |
getSystemBundle(org.osgi.framework.BundleContext currentBundleContext)
Returns the system bundle.
|
static org.osgi.framework.BundleContext |
getSystemBundleContext(org.osgi.framework.Bundle currentBundle)
Returns the system bundle context.
|
static org.osgi.framework.BundleContext |
getSystemBundleContext(org.osgi.framework.BundleContext currentBundleContext)
Returns the system bundle context.
|
public static final int SYSTEM_BUNDLE_ID
public static org.osgi.framework.Bundle getSystemBundle(org.osgi.framework.BundleContext currentBundleContext)
currentBundleContext - The bundle context used to get the system bundle.public static org.osgi.framework.BundleContext getSystemBundleContext(org.osgi.framework.Bundle currentBundle)
currentBundle - The current bundle used to get the system bundle.IllegalStateException - if the current bundle is not in the STARTING, ACTIVE or STOPPING states.public static org.osgi.framework.BundleContext getSystemBundleContext(org.osgi.framework.BundleContext currentBundleContext)
currentBundleContext - The bundle context used to get the system bundle.Copyright © 2014 Atlassian. All rights reserved.