]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.jdbc.ontology/src/org/simantics/jdbc/ontology/Activator.java
Added missing Automatic-module-name headers and fixed split package
[simantics/platform.git] / bundles / org.simantics.jdbc.ontology / src / org / simantics / jdbc / ontology / Activator.java
diff --git a/bundles/org.simantics.jdbc.ontology/src/org/simantics/jdbc/ontology/Activator.java b/bundles/org.simantics.jdbc.ontology/src/org/simantics/jdbc/ontology/Activator.java
deleted file mode 100644 (file)
index 596e25d..0000000
+++ /dev/null
@@ -1,30 +0,0 @@
-package org.simantics.jdbc.ontology;
-
-import org.osgi.framework.BundleActivator;
-import org.osgi.framework.BundleContext;
-
-public class Activator implements BundleActivator {
-
-       private static BundleContext context;
-
-       static BundleContext getContext() {
-               return context;
-       }
-
-       /*
-        * (non-Javadoc)
-        * @see org.osgi.framework.BundleActivator#start(org.osgi.framework.BundleContext)
-        */
-       public void start(BundleContext bundleContext) throws Exception {
-               Activator.context = bundleContext;
-       }
-
-       /*
-        * (non-Javadoc)
-        * @see org.osgi.framework.BundleActivator#stop(org.osgi.framework.BundleContext)
-        */
-       public void stop(BundleContext bundleContext) throws Exception {
-               Activator.context = null;
-       }
-
-}