blob: 31b07de629074de65402e5191268286098032cc0 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2010 BSI Business Systems Integration 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:
* BSI Business Systems Integration AG - initial API and implementation
******************************************************************************/
package @@BUNDLE_SHARED_NAME@@;
import org.osgi.framework.BundleActivator;
import org.osgi.framework.BundleContext;
public class Activator implements BundleActivator{
public static String PLUGIN_ID="@@BUNDLE_SHARED_NAME@@";
private static Activator plugin;
public static Activator getDefault(){
return plugin;
}
@Override
public void start(BundleContext context) throws Exception{
plugin=this;
}
@Override
public void stop(BundleContext context) throws Exception{
plugin=null;
}
}