public class FxBundle extends Object implements org.osgi.framework.BundleActivator
BundleActivator
for the FX bundle.Modifier and Type | Field and Description |
---|---|
static 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 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 Exception
start
in interface org.osgi.framework.BundleActivator
Exception
Copyright (c) 2014, 2016 itemis AG and others. All rights reserved.