adapt to renamed package in infrautils
authorMichael Vorburger <mike@vorburger.ch>
Tue, 9 Oct 2018 21:08:46 +0000 (23:08 +0200)
committerMichael Vorburger <mike@vorburger.ch>
Wed, 1 Jul 2020 23:37:20 +0000 (01:37 +0200)
Signed-off-by: Michael Vorburger <mike@vorburger.ch>
src/main/java/org/opendaylight/infrautils/simple/ReadyWiring.java

index 065d14ad582c56152249f700f22041d621e4c562..f3b0b4f096322b1dd3b108ac22b2654d9d654265 100644 (file)
@@ -10,23 +10,22 @@ package org.opendaylight.infrautils.simple;
 import com.google.inject.AbstractModule;
 import org.opendaylight.infrautils.inject.PostFullSystemInjectionListener;
 import org.opendaylight.infrautils.ready.SystemReadyMonitor;
-import org.opendaylight.infrautils.ready.impl.SystemReadyImpl;
+import org.opendaylight.infrautils.ready.spi.SimpleSystemReadyMonitor;
 import org.ops4j.pax.cdi.api.OsgiService;
 
 public class ReadyWiring extends AbstractModule implements PostFullSystemInjectionListener {
 
-    private final SystemReadyImpl systemReadyImpl = new SystemReadyImpl();
+    private final SimpleSystemReadyMonitor systemReadyMonitor = new SimpleSystemReadyMonitor();
 
     @Override
     protected void configure() {
-        bind(SystemReadyMonitor.class).toInstance(systemReadyImpl);
-        bind(SystemReadyMonitor.class).annotatedWith(OsgiService.class).toInstance(systemReadyImpl);
+        bind(SystemReadyMonitor.class).toInstance(systemReadyMonitor);
+        bind(SystemReadyMonitor.class).annotatedWith(OsgiService.class).toInstance(systemReadyMonitor);
         bind(PostFullSystemInjectionListener.class).toInstance(this);
     }
 
     @Override
     public void onFullSystemInjected() {
-        systemReadyImpl.ready();
+        systemReadyMonitor.ready();
     }
-
 }