- Dictionary<String, Object> props = new Hashtable<>();
- props.put(Constants.SERVICE_PID, NodeConstants.NODE_USER_ADMIN_PID);
- bc.registerService(ManagedServiceFactory.class, userAdmin, props);
+ bc.registerService(ManagedServiceFactory.class, userAdmin,
+ LangUtils.init(Constants.SERVICE_PID, NodeConstants.NODE_USER_ADMIN_PID));