Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorslewis2008-05-29 03:58:38 +0000
committerslewis2008-05-29 03:58:38 +0000
commitc8608b58d4b09621301c90dfcc2c798457ea7744 (patch)
treeca0717d77bb8df228f69d1111c663651a7a7ca96
parentdb3912d3917fe63f05baf00c4f1186d03e442a85 (diff)
downloadorg.eclipse.ecf-c8608b58d4b09621301c90dfcc2c798457ea7744.tar.gz
org.eclipse.ecf-c8608b58d4b09621301c90dfcc2c798457ea7744.tar.xz
org.eclipse.ecf-c8608b58d4b09621301c90dfcc2c798457ea7744.zip
Changed r-osgi provider namespace name to ecf.namespace.r_osgi
-rw-r--r--providers/bundles/org.eclipse.ecf.provider.r_osgi/plugin.xml2
-rw-r--r--providers/bundles/org.eclipse.ecf.provider.r_osgi/src/org/eclipse/ecf/internal/provider/r_osgi/R_OSGiRemoteServiceContainer.java2
-rw-r--r--providers/bundles/org.eclipse.ecf.provider.r_osgi/src/org/eclipse/ecf/provider/r_osgi/identity/R_OSGiNamespace.java4
3 files changed, 5 insertions, 3 deletions
diff --git a/providers/bundles/org.eclipse.ecf.provider.r_osgi/plugin.xml b/providers/bundles/org.eclipse.ecf.provider.r_osgi/plugin.xml
index cc912fc7b..47ce11c32 100644
--- a/providers/bundles/org.eclipse.ecf.provider.r_osgi/plugin.xml
+++ b/providers/bundles/org.eclipse.ecf.provider.r_osgi/plugin.xml
@@ -6,7 +6,7 @@
<namespace
class="org.eclipse.ecf.provider.r_osgi.identity.R_OSGiNamespace"
description="R-OSGi Namespace"
- name="org.eclipse.ecf.internal.provider.r_osgi.identity.R_OSGiNamespace">
+ name="ecf.namespace.r_osgi">
</namespace>
</extension>
<extension
diff --git a/providers/bundles/org.eclipse.ecf.provider.r_osgi/src/org/eclipse/ecf/internal/provider/r_osgi/R_OSGiRemoteServiceContainer.java b/providers/bundles/org.eclipse.ecf.provider.r_osgi/src/org/eclipse/ecf/internal/provider/r_osgi/R_OSGiRemoteServiceContainer.java
index 300dcd7e8..8b71fd584 100644
--- a/providers/bundles/org.eclipse.ecf.provider.r_osgi/src/org/eclipse/ecf/internal/provider/r_osgi/R_OSGiRemoteServiceContainer.java
+++ b/providers/bundles/org.eclipse.ecf.provider.r_osgi/src/org/eclipse/ecf/internal/provider/r_osgi/R_OSGiRemoteServiceContainer.java
@@ -356,7 +356,7 @@ final class R_OSGiRemoteServiceContainer implements IRemoteServiceContainerAdapt
endpointMgr = remoteService.getEndpointManager(target.getURI());
- containerID = (R_OSGiID) IDFactory.getDefault().createID("r-osgi", endpointMgr.getLocalAddress().toString()); //$NON-NLS-1$
+ containerID = (R_OSGiID) IDFactory.getDefault().createID(R_OSGiNamespace.NAME, endpointMgr.getLocalAddress().toString());
startRegTracker();
diff --git a/providers/bundles/org.eclipse.ecf.provider.r_osgi/src/org/eclipse/ecf/provider/r_osgi/identity/R_OSGiNamespace.java b/providers/bundles/org.eclipse.ecf.provider.r_osgi/src/org/eclipse/ecf/provider/r_osgi/identity/R_OSGiNamespace.java
index d958b3b38..bd461dcda 100644
--- a/providers/bundles/org.eclipse.ecf.provider.r_osgi/src/org/eclipse/ecf/provider/r_osgi/identity/R_OSGiNamespace.java
+++ b/providers/bundles/org.eclipse.ecf.provider.r_osgi/src/org/eclipse/ecf/provider/r_osgi/identity/R_OSGiNamespace.java
@@ -21,6 +21,8 @@ import org.eclipse.osgi.util.NLS;
*/
public class R_OSGiNamespace extends Namespace {
+ public static final String NAME = "ecf.namespace.r_osgi"; //$NON-NLS-1$
+
/**
* the serial UID.
*/
@@ -52,7 +54,7 @@ public class R_OSGiNamespace extends Namespace {
* constructor.
*/
public R_OSGiNamespace() {
- initialize("r-osgi", "R-OSGi Namespace"); //$NON-NLS-1$ //$NON-NLS-2$
+ initialize(NAME, "R-OSGi Namespace"); //$NON-NLS-1$
instance = this;
}

Back to the top