|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.plugin.osgi.util.OsgiSystemBundleUtil
public class OsgiSystemBundleUtil
Utility method for accessing system bundle.
| Field Summary | |
|---|---|
static int |
SYSTEM_BUNDLE_ID
The identifier of the system bundle. |
| Constructor Summary | |
|---|---|
OsgiSystemBundleUtil()
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int SYSTEM_BUNDLE_ID
| Constructor Detail |
|---|
public OsgiSystemBundleUtil()
| Method Detail |
|---|
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.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||