X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=bundles%2Forg.simantics.jdbc.ontology%2Fsrc%2Forg%2Fsimantics%2Fjdbc%2Fontology%2FActivator.java;fp=bundles%2Forg.simantics.jdbc.ontology%2Fsrc%2Forg%2Fsimantics%2Fjdbc%2Fontology%2FActivator.java;h=0000000000000000000000000000000000000000;hb=8975cec64c881e380febb14b92eccdd893ab2453;hp=596e25da4cbc2158d6460924e00f624d250450c9;hpb=7e275823e9a2ccb09e0bf6ca6fdd2d2f10143b2f;p=simantics%2Fplatform.git 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 index 596e25da4..000000000 --- a/bundles/org.simantics.jdbc.ontology/src/org/simantics/jdbc/ontology/Activator.java +++ /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; - } - -}