package org.simantics.export.core.internal; import org.osgi.framework.BundleActivator; import org.osgi.framework.BundleContext; /** * @author Tuukka Lehtonen * @since 1.22.2 */ public class Activator implements BundleActivator { private static BundleContext context; public static BundleContext getContext() { return context; } @Override public void start(BundleContext context) throws Exception { Activator.context = context; } @Override public void stop(BundleContext context) throws Exception { Activator.context = null; } }