package com.example.mybundle;
import org.osgi.framework.BundleActivator;
import org.osgi.framework.BundleContext;
public class MyBundleActivator implements BundleActivator {
public void start(BundleContext context) throws Exception {
System.out.println("MyBundle started.");
}
public void stop(BundleContext context) throws Exception {
System.out.println("MyBundle stopped.");
}
}
Bundle-Name: MyBundle
Bundle-SymbolicName: com.example.mybundle
Bundle-Version: 1.0.0
Import-Package: org.osgi.framework
Bundle-Activator: com.example.mybundle.MyBundleActivator