为什么bc.getServiceReference(HttpService.class.getName()),取到了null ? 网上有说是HttpService没有注册,在哪里注册呢?public class Activator implements BundleActivator{
    private ServiceReference httpServiceRef;
    public void start( BundleContext bc ) throws Exception {
httpServiceRef = bc.getServiceReference(HttpService.class.getName());
System.out.println(httpServiceRef);
                //输出了Null
//......