регистрацию ManagedServiceFactory следующим образом может быть сделано: -ManagedServiceFactory с помощью Blueprint
private ServiceRegistration factoryService;
public void start(BundleContext context) {
Dictionary props = new Hashtable();
props.put("service.pid", "test.smssenderfactory");
factoryService = context.registerService(ManagedServiceFactory.class.getName(),
new SmsSenderFactory(), props);
}
Как можно сделать это в Blueprint (образец примера будет весьма полезно)?