| Subject: r-OSGI: Upgrading from ECF 3.4 to 3.10/11 | Author: Lars Brenna | Date: Wed, 14 October 2015 14:05 | 
	| Hi, 
 I have some really old code that's been running fine for 5 years but now I have to provide some new features. I figured that I would at the same time update external libraries such as the ECF provider library. However, the code breaks and I am not sure how to make something equivalent. The old code that breaks is the following:
 
 
 Dictionary<String, Object> props = new Hashtable<String, Object>();
			props.put(Constants.SERVICE_REGISTRATION_TARGETS, _clientContainer
					.getConnectedID());
			props.put(Constants.AUTOREGISTER_REMOTE_PROXY, "true");
			Constants.
	
			callContainer.registerRemoteService(new String[] { ARTParameterService.class.getName() }, 
					(Object) _artParameter, props);
			theContext.registerService(ARTParameterService.class.getName(), _artParameter, new Hashtable<String,Object>());
			
 The observant reader will see that the constant Constants.AUTOREGISTER_REMOTE_PROXY breaks, as it seems to have been removed from the library. I have not been able to figure out why and how to replace it.
 
 Any hints or tips on how to make the above code run on ECF 3.10/11 are greatly appreciated!
 
 
 | 
	| [ Reply ][ Quote ][ View Topic/Message ][ Unsubscribe from this forum ] |