Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Stepper2018-11-22 08:23:49 -0500
committerEike Stepper2018-11-22 08:23:49 -0500
commit1110742e72c69185bfe2ac5c8d7697d460a8af3f (patch)
treeb1264a891b37f351f2e34115204b11827b1c131d
parent7cfee3a21ba4eabeb116229dc6454e173c128b38 (diff)
downloadcdo-1110742e72c69185bfe2ac5c8d7697d460a8af3f.tar.gz
cdo-1110742e72c69185bfe2ac5c8d7697d460a8af3f.tar.xz
cdo-1110742e72c69185bfe2ac5c8d7697d460a8af3f.zip
[541450] Log repository activation/deactivation in RepositoryActivityLog
https://bugs.eclipse.org/bugs/show_bug.cgi?id=541450
-rw-r--r--plugins/org.eclipse.emf.cdo.server/src/org/eclipse/emf/cdo/spi/server/RepositoryActivityLog.java18
1 files changed, 18 insertions, 0 deletions
diff --git a/plugins/org.eclipse.emf.cdo.server/src/org/eclipse/emf/cdo/spi/server/RepositoryActivityLog.java b/plugins/org.eclipse.emf.cdo.server/src/org/eclipse/emf/cdo/spi/server/RepositoryActivityLog.java
index 315c80b562..c3aed76ebe 100644
--- a/plugins/org.eclipse.emf.cdo.server/src/org/eclipse/emf/cdo/spi/server/RepositoryActivityLog.java
+++ b/plugins/org.eclipse.emf.cdo.server/src/org/eclipse/emf/cdo/spi/server/RepositoryActivityLog.java
@@ -186,6 +186,24 @@ public abstract class RepositoryActivityLog extends LifecycleHook<IRepository> i
return (view instanceof ITransaction ? "Transaction " : "View ") + view.getSessionID() + ":" + view.getViewID();
}
+ /**
+ * @since 4.8
+ */
+ @Override
+ protected void delegateActivated(IRepository delegate)
+ {
+ log("Repository activated");
+ }
+
+ /**
+ * @since 4.8
+ */
+ @Override
+ protected void delegateAboutToDeactivate(IRepository delegate)
+ {
+ log("Repository deactivated");
+ }
+
@Override
protected void hookDelegate(IRepository repository)
{

Back to the top