Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Stepper2012-08-02 08:34:39 +0000
committerEike Stepper2012-08-02 08:34:39 +0000
commit599cf8257167a7695ef7be4c07ddf67b9dbb8ad8 (patch)
tree9ea4db9c93df9b2b91fde1003224480b69e99f39 /plugins/org.eclipse.emf.cdo.admin
parentefe134411cb0a956f579a5545a841a8491c80599 (diff)
downloadcdo-599cf8257167a7695ef7be4c07ddf67b9dbb8ad8.tar.gz
cdo-599cf8257167a7695ef7be4c07ddf67b9dbb8ad8.tar.xz
cdo-599cf8257167a7695ef7be4c07ddf67b9dbb8ad8.zip
[386413] Add option to serialize commits
https://bugs.eclipse.org/bugs/show_bug.cgi?id=386413
Diffstat (limited to 'plugins/org.eclipse.emf.cdo.admin')
-rw-r--r--plugins/org.eclipse.emf.cdo.admin/META-INF/MANIFEST.MF10
-rw-r--r--plugins/org.eclipse.emf.cdo.admin/src/org/eclipse/emf/cdo/internal/admin/CDOAdminClientRepositoryImpl.java8
2 files changed, 13 insertions, 5 deletions
diff --git a/plugins/org.eclipse.emf.cdo.admin/META-INF/MANIFEST.MF b/plugins/org.eclipse.emf.cdo.admin/META-INF/MANIFEST.MF
index 310309cc10..e37cee9417 100644
--- a/plugins/org.eclipse.emf.cdo.admin/META-INF/MANIFEST.MF
+++ b/plugins/org.eclipse.emf.cdo.admin/META-INF/MANIFEST.MF
@@ -2,7 +2,7 @@ Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: %pluginName
Bundle-SymbolicName: org.eclipse.emf.cdo.admin; singleton:=true
-Bundle-Version: 4.1.0.qualifier
+Bundle-Version: 4.1.100.qualifier
Bundle-ClassPath: .
Bundle-Vendor: %providerName
Bundle-Localization: plugin
@@ -12,13 +12,13 @@ Require-Bundle: org.eclipse.core.runtime;bundle-version="[3.4.0,4.0.0)",
org.eclipse.emf.cdo;bundle-version="[4.0.0,5.0.0)";visibility:=reexport,
org.eclipse.emf.cdo.net4j;bundle-version="[4.0.0,5.0.0)";visibility:=reexport,
org.eclipse.net4j;bundle-version="[4.0.0,5.0.0)";visibility:=reexport
-Export-Package: org.eclipse.emf.cdo.admin;version="4.1.0",
- org.eclipse.emf.cdo.internal.admin;version="4.1.0";
+Export-Package: org.eclipse.emf.cdo.admin;version="4.1.100",
+ org.eclipse.emf.cdo.internal.admin;version="4.1.100";
x-friends:="org.eclipse.emf.cdo.tests,
org.eclipse.emf.cdo.defs,
org.eclipse.emf.cdo.ui,
org.eclipse.emf.cdo.ui.admin,
org.eclipse.emf.cdo.examples",
- org.eclipse.emf.cdo.internal.admin.bundle;version="4.1.0";x-friends:="org.eclipse.emf.cdo.tests",
- org.eclipse.emf.cdo.internal.admin.protocol;version="4.1.0";x-internal:=true
+ org.eclipse.emf.cdo.internal.admin.bundle;version="4.1.100";x-friends:="org.eclipse.emf.cdo.tests",
+ org.eclipse.emf.cdo.internal.admin.protocol;version="4.1.100";x-internal:=true
Bundle-ActivationPolicy: lazy
diff --git a/plugins/org.eclipse.emf.cdo.admin/src/org/eclipse/emf/cdo/internal/admin/CDOAdminClientRepositoryImpl.java b/plugins/org.eclipse.emf.cdo.admin/src/org/eclipse/emf/cdo/internal/admin/CDOAdminClientRepositoryImpl.java
index cace33398b..931cdbb67b 100644
--- a/plugins/org.eclipse.emf.cdo.admin/src/org/eclipse/emf/cdo/internal/admin/CDOAdminClientRepositoryImpl.java
+++ b/plugins/org.eclipse.emf.cdo.admin/src/org/eclipse/emf/cdo/internal/admin/CDOAdminClientRepositoryImpl.java
@@ -59,6 +59,8 @@ public class CDOAdminClientRepositoryImpl extends Notifier implements CDOAdminCl
private boolean supportingEcore;
+ private boolean serializingCommits;
+
private boolean ensuringReferentialIntegrity;
private IDGenerationLocation idGenerationLocation;
@@ -85,6 +87,7 @@ public class CDOAdminClientRepositoryImpl extends Notifier implements CDOAdminCl
supportingAudits = in.readBoolean();
supportingBranches = in.readBoolean();
supportingEcore = in.readBoolean();
+ serializingCommits = in.readBoolean();
ensuringReferentialIntegrity = in.readBoolean();
idGenerationLocation = in.readEnum(IDGenerationLocation.class);
}
@@ -149,6 +152,11 @@ public class CDOAdminClientRepositoryImpl extends Notifier implements CDOAdminCl
return supportingEcore;
}
+ public boolean isSerializingCommits()
+ {
+ return serializingCommits;
+ }
+
public boolean isEnsuringReferentialIntegrity()
{
return ensuringReferentialIntegrity;

Back to the top