Index: applications/editors/josm/plugins/smed_bfw/smed_bfw/smed_ex.bnd
===================================================================
--- applications/editors/josm/plugins/smed_bfw/smed_bfw/smed_ex.bnd	(revision 23994)
+++ applications/editors/josm/plugins/smed_bfw/smed_bfw/smed_ex.bnd	(revision 23994)
@@ -0,0 +1,2 @@
+Private-Package: smed_bfw.ex
+Service-Component: smed_bfw.ex.SmedEx
Index: applications/editors/josm/plugins/smed_bfw/smed_bfw/src/smed_bfw/ex/SmedEx.java
===================================================================
--- applications/editors/josm/plugins/smed_bfw/smed_bfw/src/smed_bfw/ex/SmedEx.java	(revision 23994)
+++ applications/editors/josm/plugins/smed_bfw/smed_bfw/src/smed_bfw/ex/SmedEx.java	(revision 23994)
@@ -0,0 +1,45 @@
+package smed_bfw.ex;
+
+import javax.swing.JFrame;
+
+import org.osgi.framework.BundleActivator;
+import org.osgi.framework.BundleContext;
+
+import aQute.bnd.annotation.component.Activate;
+import aQute.bnd.annotation.component.Component;
+import aQute.bnd.annotation.component.Deactivate;
+import aQute.bnd.annotation.component.Reference;
+
+import smed_bfw.api.IManager;
+
+@Component
+public class SmedEx extends JFrame {
+	
+	IManager manager = null;
+
+	@Activate
+	public void start() {
+		System.out.println("start");
+		init();
+	}
+
+	private void init() {
+		 if(manager == null) System.out.println("something is wrong");
+		 else System.out.println("things alright");
+	}
+
+
+	@Deactivate
+	public void stop() {
+		System.out.println("stop");
+	}
+
+	@Reference
+	public void setManager(IManager manager) {
+		this.manager = manager;
+	}
+	
+	public static void main(String[] args) {
+        new SmedEx().start();
+    }
+}
