1 package org.simantics.filesystem.services.internal;
3 import org.osgi.framework.BundleActivator;
4 import org.osgi.framework.BundleContext;
7 * @author Tuukka Lehtonen
10 public class Activator implements BundleActivator {
12 private static BundleContext context;
14 static BundleContext getContext() {
20 * @see org.osgi.framework.BundleActivator#start(org.osgi.framework.BundleContext)
22 public void start(BundleContext bundleContext) throws Exception {
23 Activator.context = bundleContext;
28 * @see org.osgi.framework.BundleActivator#stop(org.osgi.framework.BundleContext)
30 public void stop(BundleContext bundleContext) throws Exception {
31 Activator.context = null;