From 51b20e1666615c764a829987b959822de84de40d Mon Sep 17 00:00:00 2001 From: Victor Woeltjen Date: Fri, 27 Sep 2013 09:45:26 -0700 Subject: [PATCH] [Launcher] Add dependency to default component provider --- .../java/gov/nasa/arc/mct/platform/LaunchMCTService.java | 8 ++++---- platform/src/main/resources/OSGI-INF/service.xml | 1 + 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/platform/src/main/java/gov/nasa/arc/mct/platform/LaunchMCTService.java b/platform/src/main/java/gov/nasa/arc/mct/platform/LaunchMCTService.java index c5a36e65..8e6cd9ff 100644 --- a/platform/src/main/java/gov/nasa/arc/mct/platform/LaunchMCTService.java +++ b/platform/src/main/java/gov/nasa/arc/mct/platform/LaunchMCTService.java @@ -24,9 +24,8 @@ import gov.nasa.arc.mct.context.GlobalContext; import gov.nasa.arc.mct.gui.impl.MenuExtensionManager; import gov.nasa.arc.mct.gui.impl.StatusAreaWidgetRegistryImpl; -import gov.nasa.arc.mct.osgi.platform.OSGIRuntimeImpl; import gov.nasa.arc.mct.osgi.platform.OSGIRuntime; -import gov.nasa.arc.mct.platform.spi.PersistenceProvider; +import gov.nasa.arc.mct.osgi.platform.OSGIRuntimeImpl; import gov.nasa.arc.mct.platform.spi.Platform; import gov.nasa.arc.mct.platform.spi.PlatformAccess; import gov.nasa.arc.mct.policymgr.PolicyManagerImpl; @@ -63,11 +62,12 @@ public class LaunchMCTService { private boolean haveInitialized = false; private Timer t; - public void bind(PersistenceProvider provider) { + public void bind(Object provider) { // do nothing as this signals launch can proceed + // (used to declare dependencies to persistence, default component provider) } - public void unbind(PersistenceProvider provider) { + public void unbind(Object provider) { } diff --git a/platform/src/main/resources/OSGI-INF/service.xml b/platform/src/main/resources/OSGI-INF/service.xml index 239eda72..84a830e2 100644 --- a/platform/src/main/resources/OSGI-INF/service.xml +++ b/platform/src/main/resources/OSGI-INF/service.xml @@ -3,6 +3,7 @@ +