Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorslewis2009-02-23 06:43:40 +0000
committerslewis2009-02-23 06:43:40 +0000
commit74f80d9cfb05a97c334c8acc8150f7ee7029b64a (patch)
tree766655c830a883212bc47dea3181ad8db1fe1a41
parent27f12a7ba836963bc00f7b7b16e905c16a47f512 (diff)
downloadorg.eclipse.ecf-74f80d9cfb05a97c334c8acc8150f7ee7029b64a.tar.gz
org.eclipse.ecf-74f80d9cfb05a97c334c8acc8150f7ee7029b64a.tar.xz
org.eclipse.ecf-74f80d9cfb05a97c334c8acc8150f7ee7029b64a.zip
Update to remote service constants
-rw-r--r--providers/bundles/org.eclipse.ecf.provider.remoteservice/src/org/eclipse/ecf/provider/remoteservice/AbstractRemoteServiceDescription.java4
-rw-r--r--providers/bundles/org.eclipse.ecf.provider.remoteservice/src/org/eclipse/ecf/provider/remoteservice/generic/RegistrySharedObject.java2
2 files changed, 3 insertions, 3 deletions
diff --git a/providers/bundles/org.eclipse.ecf.provider.remoteservice/src/org/eclipse/ecf/provider/remoteservice/AbstractRemoteServiceDescription.java b/providers/bundles/org.eclipse.ecf.provider.remoteservice/src/org/eclipse/ecf/provider/remoteservice/AbstractRemoteServiceDescription.java
index eb6057492..fb1ee5ea4 100644
--- a/providers/bundles/org.eclipse.ecf.provider.remoteservice/src/org/eclipse/ecf/provider/remoteservice/AbstractRemoteServiceDescription.java
+++ b/providers/bundles/org.eclipse.ecf.provider.remoteservice/src/org/eclipse/ecf/provider/remoteservice/AbstractRemoteServiceDescription.java
@@ -58,7 +58,7 @@ public abstract class AbstractRemoteServiceDescription {
}
public String getContainerFactoryName() {
- return getProperty(org.eclipse.ecf.remoteservice.Constants.CONTAINER_FACTORY_NAME);
+ return getProperty(org.eclipse.ecf.remoteservice.Constants.SERVICE_CONTAINER_FACTORY_NAME);
}
public IContainer createContainer() throws ContainerCreateException {
@@ -85,6 +85,6 @@ public abstract class AbstractRemoteServiceDescription {
}
public ID createTargetID(Namespace namespace) throws IDCreateException {
- return IDFactory.getDefault().createID(namespace, getProperty(org.eclipse.ecf.remoteservice.Constants.CONTAINER_TARGET));
+ return IDFactory.getDefault().createID(namespace, getProperty(org.eclipse.ecf.remoteservice.Constants.SERVICE_CONTAINER_TARGET));
}
}
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 80a7d0b69..131b4f5e1 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
@@ -709,7 +709,7 @@ public class RegistrySharedObject extends BaseSharedObject implements IRemoteSer
}
}
final ID remoteContainerID = registration.getContainerID();
- properties.put(org.eclipse.ecf.remoteservice.Constants.REMOTE_SERVICE_CONTAINER_ID, remoteContainerID.getName());
+ properties.put(org.eclipse.ecf.remoteservice.Constants.SERVICE_CONTAINER_ID, remoteContainerID.getName());
final ServiceRegistration serviceRegistration = context.registerService(registration.getClasses(), service, properties);
addLocalServiceRegistration(remoteContainerID, serviceRegistration);
}

Back to the top