1 package org.simantics.trend;
\r
3 import org.osgi.framework.BundleActivator;
\r
4 import org.osgi.framework.BundleContext;
\r
6 public class Activator implements BundleActivator {
\r
8 private static BundleContext context;
\r
10 static BundleContext getContext() {
\r
16 * @see org.osgi.framework.BundleActivator#start(org.osgi.framework.BundleContext)
\r
18 public void start(BundleContext bundleContext) throws Exception {
\r
19 Activator.context = bundleContext;
\r
24 * @see org.osgi.framework.BundleActivator#stop(org.osgi.framework.BundleContext)
\r
26 public void stop(BundleContext bundleContext) throws Exception {
\r
27 Activator.context = null;
\r