Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorslewis2014-03-23 19:49:36 +0000
committerslewis2014-03-23 19:49:36 +0000
commit9e23ad85ca9570473953d4ccf6b409fab084404f (patch)
tree55a7381483812a528570fb612ec3ddc1ee2d6a4a /providers
parentc32fc84ae916694eddf58e855c9f4bec33e0253f (diff)
downloadorg.eclipse.ecf-9e23ad85ca9570473953d4ccf6b409fab084404f.tar.gz
org.eclipse.ecf-9e23ad85ca9570473953d4ccf6b409fab084404f.tar.xz
org.eclipse.ecf-9e23ad85ca9570473953d4ccf6b409fab084404f.zip
Fix for https://bugs.eclipse.org/bugs/show_bug.cgi?id=430963
Diffstat (limited to 'providers')
-rw-r--r--providers/bundles/org.eclipse.ecf.provider.remoteservice/src/org/eclipse/ecf/provider/remoteservice/generic/RegistrySharedObject.java9
1 files changed, 8 insertions, 1 deletions
diff --git a/providers/bundles/org.eclipse.ecf.provider.remoteservice/src/org/eclipse/ecf/provider/remoteservice/generic/RegistrySharedObject.java b/providers/bundles/org.eclipse.ecf.provider.remoteservice/src/org/eclipse/ecf/provider/remoteservice/generic/RegistrySharedObject.java
index 577d5f3d4..688004cde 100644
--- a/providers/bundles/org.eclipse.ecf.provider.remoteservice/src/org/eclipse/ecf/provider/remoteservice/generic/RegistrySharedObject.java
+++ b/providers/bundles/org.eclipse.ecf.provider.remoteservice/src/org/eclipse/ecf/provider/remoteservice/generic/RegistrySharedObject.java
@@ -199,6 +199,13 @@ public class RegistrySharedObject extends BaseSharedObject implements IRemoteSer
}
}
+ /**
+ * @since 4.1
+ */
+ protected RemoteServiceImpl createRemoteService(RemoteServiceRegistrationImpl registration) {
+ return new RemoteServiceImpl(this, registration);
+ }
+
/* (non-Javadoc)
* @see org.eclipse.ecf.remoteservice.IRemoteServiceContainerAdapter#getRemoteService(org.eclipse.ecf.remoteservice.IRemoteServiceReference)
*/
@@ -207,7 +214,7 @@ public class RegistrySharedObject extends BaseSharedObject implements IRemoteSer
final RemoteServiceRegistrationImpl registration = getRemoteServiceRegistrationImpl(reference);
if (registration == null)
return null;
- final RemoteServiceImpl remoteService = new RemoteServiceImpl(this, registration);
+ final RemoteServiceImpl remoteService = createRemoteService(registration);
synchronized (refToImplMap) {
List remoteServiceImplList = (List) refToImplMap.get(reference);
if (remoteServiceImplList == null)

Back to the top