blob: e5059449ddc443dddef4fd7d08ed7176aaad5d73 [file] [log] [blame]
package org.eclipse.equinox.internal.p2.extensionlocation;
import org.osgi.framework.BundleActivator;
import org.osgi.framework.BundleContext;
public class Activator implements BundleActivator {
public static final String ID = "org.eclipse.equinox.p2.extensionlocation"; //$NON-NLS-1$null;
private static volatile BundleContext bundleContext;
/*
* (non-Javadoc)
* @see org.osgi.framework.BundleActivator#start(org.osgi.framework.BundleContext)
*/
public void start(BundleContext context) throws Exception {
bundleContext = context;
}
/*
* (non-Javadoc)
* @see org.osgi.framework.BundleActivator#stop(org.osgi.framework.BundleContext)
*/
public void stop(BundleContext context) throws Exception {
bundleContext = null;
}
public static BundleContext getContext() {
return bundleContext;
}
}