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