212223242526272829
public class Activator extends BaseActivator { @Override protected void doStart() throws Exception { ServicesMBeanImpl mbean = new ServicesMBeanImpl(); mbean.setBundleContext(bundleContext); registerMBean(mbean, "type=service"); }