Bug 296356 We shouldn't create more than one e4 OSGi context per BundleContext
tests/org.eclipse.e4.ui.bindings.tests/src/org/eclipse/e4/ui/bindings/tests/Activator.java
package org.eclipse.e4.ui.bindings.tests;
import org.eclipse.e4.core.services.IDisposable;
import org.eclipse.e4.core.services.context.EclipseContextFactory;
import org.eclipse.e4.core.services.context.IEclipseContext;
import org.osgi.framework.Bundle;
import org.osgi.framework.BundleActivator;
import org.osgi.framework.BundleContext;
import org.osgi.framework.ServiceReference;
import org.osgi.service.log.LogService;
import org.osgi.service.packageadmin.PackageAdmin;
/**
 * The activator class controls the plug-in life cycle
 */
public class Activator implements BundleActivator {
	
	public static final String PLUGIN_ID = "org.eclipse.e4.ui.bindings.tests"; 
	
	private static Activator plugin;
	
	private IEclipseContext appContext;
	private IEclipseContext serviceContext;
	/**
	 * The constructor
	 */
	public Activator() {
	}