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