[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ecf-dev] Exception Handling of Remote Calls

Hi Peter,

On 6/27/2014 7:01 AM, Peter Hermsdorf wrote:
<stuff deleted>

This is probably because the implementation is again fetching the IRemoteServiceContainerAdapter from the container ... which is obviously not my Implementation of RegistrySharedObject

That's right, it's the implementation provided by org.eclipse.ecf.provider.remoteservice (declared in plugin.xml).

Do you have any suggestions of how to intercept in this getAdapter loading mechanism?

There are several possibilities, the easiest of which is probably to create a new provider with an IContainer type implementing getAdapter to return your custom implementation.