Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Watson2018-06-15 18:08:51 +0000
committerThomas Watson2018-06-15 18:08:51 +0000
commit5b50d3ba90ecf2540edaa0d42f2f6e5b109005ba (patch)
tree55db653fb4cd1019af2fb0d92c049801ce5e5830 /bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/internal
parentc4c90b1c75780b2262b80534035c593ba8dd8f0e (diff)
downloadrt.equinox.framework-5b50d3ba90ecf2540edaa0d42f2f6e5b109005ba.tar.gz
rt.equinox.framework-5b50d3ba90ecf2540edaa0d42f2f6e5b109005ba.tar.xz
rt.equinox.framework-5b50d3ba90ecf2540edaa0d42f2f6e5b109005ba.zip
Bug 535961 - [log] deliver log events synchronously to sync LogListeners
Change-Id: Ief62de093281922f8cff4e20c76b37ee505652aa Signed-off-by: Thomas Watson <tjwatson@us.ibm.com>
Diffstat (limited to 'bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/internal')
-rw-r--r--bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/internal/log/LogServiceManager.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/internal/log/LogServiceManager.java b/bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/internal/log/LogServiceManager.java
index 4d877d257..96fc535fe 100644
--- a/bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/internal/log/LogServiceManager.java
+++ b/bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/internal/log/LogServiceManager.java
@@ -25,7 +25,6 @@ import org.eclipse.osgi.internal.framework.EquinoxContainer;
import org.osgi.framework.Bundle;
import org.osgi.framework.BundleContext;
import org.osgi.framework.BundleEvent;
-import org.osgi.framework.BundleListener;
import org.osgi.framework.Constants;
import org.osgi.framework.FrameworkEvent;
import org.osgi.framework.FrameworkListener;
@@ -33,6 +32,7 @@ import org.osgi.framework.ServiceEvent;
import org.osgi.framework.ServiceListener;
import org.osgi.framework.ServiceReference;
import org.osgi.framework.ServiceRegistration;
+import org.osgi.framework.SynchronousBundleListener;
import org.osgi.framework.Version;
import org.osgi.service.log.LogLevel;
import org.osgi.service.log.LogListener;
@@ -41,7 +41,7 @@ import org.osgi.service.log.LogService;
import org.osgi.service.log.LoggerFactory;
import org.osgi.service.log.admin.LoggerAdmin;
-public class LogServiceManager implements BundleListener, FrameworkListener, ServiceListener {
+public class LogServiceManager implements SynchronousBundleListener, FrameworkListener, ServiceListener {
private static final String LOGGER_FRAMEWORK_EVENT = "Events.Framework"; //$NON-NLS-1$
private static final String LOGGER_BUNDLE_EVENT = "Events.Bundle"; //$NON-NLS-1$
private static final String LOGGER_SERVICE_EVENT = "Events.Service"; //$NON-NLS-1$

Back to the top