summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Stepper2006-12-22 03:36:25 (EST)
committerEike Stepper2006-12-22 03:36:25 (EST)
commitd0682c7d3f294c325b4f5db7c276b52c0792ff75 (patch)
tree862eaa0f752a23d9da4c98fba67ed51af6839f86
parentb653a01faf4d197e42cf7ebf5b3336420257af79 (diff)
downloadcdo-d0682c7d3f294c325b4f5db7c276b52c0792ff75.zip
cdo-d0682c7d3f294c325b4f5db7c276b52c0792ff75.tar.gz
cdo-d0682c7d3f294c325b4f5db7c276b52c0792ff75.tar.bz2
Added global protocol factory registries.
-rw-r--r--plugins/org.eclipse.emf.cdo.server/src/org/eclipse/emf/cdo/server/protocol/ServerCDOProtocolImpl.java5
-rw-r--r--plugins/org.eclipse.emf.cdo.server/src/org/eclipse/emf/cdo/server/protocol/ServerCDOResProtocolImpl.java5
2 files changed, 10 insertions, 0 deletions
diff --git a/plugins/org.eclipse.emf.cdo.server/src/org/eclipse/emf/cdo/server/protocol/ServerCDOProtocolImpl.java b/plugins/org.eclipse.emf.cdo.server/src/org/eclipse/emf/cdo/server/protocol/ServerCDOProtocolImpl.java
index 6802602..f26695c 100644
--- a/plugins/org.eclipse.emf.cdo.server/src/org/eclipse/emf/cdo/server/protocol/ServerCDOProtocolImpl.java
+++ b/plugins/org.eclipse.emf.cdo.server/src/org/eclipse/emf/cdo/server/protocol/ServerCDOProtocolImpl.java
@@ -236,6 +236,11 @@ public class ServerCDOProtocolImpl extends AbstractCDOProtocol implements Server
}
}
+ public String getProtocolID()
+ {
+ return "cdo";
+ }
+
public Set<Type> getConnectorTypes()
{
return ProtocolFactory.FOR_SERVERS;
diff --git a/plugins/org.eclipse.emf.cdo.server/src/org/eclipse/emf/cdo/server/protocol/ServerCDOResProtocolImpl.java b/plugins/org.eclipse.emf.cdo.server/src/org/eclipse/emf/cdo/server/protocol/ServerCDOResProtocolImpl.java
index a5991ad..c685e54 100644
--- a/plugins/org.eclipse.emf.cdo.server/src/org/eclipse/emf/cdo/server/protocol/ServerCDOResProtocolImpl.java
+++ b/plugins/org.eclipse.emf.cdo.server/src/org/eclipse/emf/cdo/server/protocol/ServerCDOResProtocolImpl.java
@@ -193,6 +193,11 @@ public class ServerCDOResProtocolImpl extends AbstractCDOResProtocol implements
}
}
+ public String getProtocolID()
+ {
+ return "cdores";
+ }
+
public Set<Type> getConnectorTypes()
{
return ProtocolFactory.FOR_SERVERS;