blob: 1753b61b10807b2d681d91f72f45a26ef5e34faf [file] [log] [blame]
package a;
import org.osgi.framework.BundleContext;
/**
* The activator class controls the plug-in life cycle
*/
public class Activator {
private static BundleContext myContext = null;
private static Application myApplication = null;
/**
* The constructor
*/
private Activator() {
}
public void start(BundleContext context) throws Exception {
myContext = context;
myApplication = new Application();
}
public static BundleContext getContext() {
return myContext;
}
public static Application getApplication() {
return myApplication;
}
}