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