我正在学习Spring DM,并且我在服务注册表方面遇到问题。我将ServiceMix 4.3.0与嵌入式Felix实例一起使用。我的项目中有2个捆绑包。 第一个包含接口和模拟实现。我想将它们发布到OSGi服务注册表: public interface PersonAPI {
public void listAll();
public List<PersonEntity> ge
一个的ServiceListener我想知道是否有可能做的 public void start(BundleContext context)
{
String filter = "filter for my specific service";
context.addServiceListener(new MyServiceListener(), filter);
}