1 package org.simantics.msvc.runtime;
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;
20 Runtimes.initialize(Runtimes.VC_2010);
25 * @see org.osgi.framework.BundleActivator#stop(org.osgi.framework.BundleContext)
27 public void stop(BundleContext bundleContext) throws Exception {
28 Activator.context = null;