]> gerrit.simantics Code Review - simantics/platform.git/blob - Activator.java
cba2e0ed391d88ba6bb57bbb5b8ee2c53f034909
[simantics/platform.git] / Activator.java
1 package org.simantics.document.server;
2 import org.osgi.framework.Bundle;
3 import org.osgi.framework.BundleActivator;
4 import org.osgi.framework.BundleContext;
5
6
7 public class Activator implements BundleActivator {
8         
9         private static Bundle bundle;
10
11         @Override
12         public void start(BundleContext context) throws Exception {
13                 bundle = context.getBundle();
14                 context.getBundle();
15         }
16
17         @Override
18         public void stop(BundleContext context) throws Exception {
19
20         }
21         
22     public static Bundle getBundle() {
23         return bundle;
24     }
25
26 }