blob: e024b14fa6db2d74a81c7c28c3aa011c198e50ca [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2011 SAP AG
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* Lazar Kirchev, SAP AG - initial API and implementation
*******************************************************************************/
package org.eclipse.equinox.console;
import org.osgi.framework.BundleActivator;
import org.osgi.framework.BundleContext;
/**
* The activator class controls the plug-in life cycle
*/
public class Activator implements BundleActivator {
private static BundleContext context;
public void start(BundleContext context) throws Exception {
this.context = context;
}
public void stop(BundleContext context) throws Exception {
this.context = null;
}
public static BundleContext getContext() {
return context;
}
}