public class Activator
implements BundleActivator
{
public void start(BundleContext bc)
{
C c = new C();
D d = new D();
test_rb.D.D dd = new test_rb.D.D();
Dictionary cDict = new Hashtable();
cDict.put("test_rb","C.C");
cDict.put("toString",c.toString());
bc.registerService(Object.class.getName(), c, cDict);
Dictionary dDict = new Hashtable();
dDict.put("test_rb","C.D");
dDict.put("toString",d.toString());