.getProperties());
serviceProps.put(RemoteConstants.SERVICE_IMPORTED, true);
serviceProps.remove(RemoteConstants.SERVICE_EXPORTED_INTERFACES);
// synchronized (discoveredServices) {
ClientServiceFactory csf = new ClientServiceFactory(actualContext, iClass, imReg
.getImportedEndpointDescription(), handler, imReg);
imReg.setClientServiceFactory(csf);
ServiceRegistration proxyRegistration = actualContext.registerService(interfaceName, csf,
serviceProps);