public class FxBundle
extends java.lang.Object
implements org.osgi.framework.BundleActivator
BundleActivator for the FX bundle.| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
PLUGIN_ID
The plug-in id of the FX bundle.
|
| Constructor and Description |
|---|
FxBundle() |
| Modifier and Type | Method and Description |
|---|---|
static org.osgi.framework.BundleContext |
getContext()
If the bundle has been started, returns the
BundleContext
associated to it. |
void |
start(org.osgi.framework.BundleContext bundleContext) |
void |
stop(org.osgi.framework.BundleContext bundleContext) |
public static final java.lang.String PLUGIN_ID
public static org.osgi.framework.BundleContext getContext()
BundleContext
associated to it.BundleContext of the module if this bundle was
started (start(BundleContext)) and has since not been
stopped ( stop(BundleContext)), null
otherwise.public void start(org.osgi.framework.BundleContext bundleContext)
throws java.lang.Exception
start in interface org.osgi.framework.BundleActivatorjava.lang.Exceptionpublic void stop(org.osgi.framework.BundleContext bundleContext)
throws java.lang.Exception
stop in interface org.osgi.framework.BundleActivatorjava.lang.ExceptionCopyright (c) 2014, 2016 itemis AG and others. All rights reserved.