added implementation of Identifier and Identifiable from yangtools.concepts
[controller.git] / opendaylight / config / config-manager / src / test / java / org / opendaylight / controller / config / manager / testingservices / scheduledthreadpool / TestingScheduledThreadPoolModule.java
index 4716d589f1c0b5fc4894ee3d0e0f983957b4cd60..77d1f8bbdfedfca2402b9c310d54cf1413f94340 100644 (file)
@@ -30,7 +30,7 @@ public class TestingScheduledThreadPoolModule implements Module,
         RuntimeBeanRegistratorAwareModule,
         TestingScheduledThreadPoolServiceInterface {
 
-    private final ModuleIdentifier name;
+    private final ModuleIdentifier identifier;
     @Nullable
     private final AutoCloseable oldCloseable;
     @Nullable
@@ -41,19 +41,14 @@ public class TestingScheduledThreadPoolModule implements Module,
     private RootRuntimeBeanRegistrator runtimeBeanRegistrator;
     private boolean recreate;
 
-    public TestingScheduledThreadPoolModule(ModuleIdentifier name,
+    public TestingScheduledThreadPoolModule(ModuleIdentifier identifier,
             @Nullable AutoCloseable oldCloseable,
             @Nullable TestingScheduledThreadPoolImpl oldInstance) {
-        this.name = name;
+        this.identifier = identifier;
         this.oldCloseable = oldCloseable;
         this.oldInstance = oldInstance;
     }
 
-    @Override
-    public ModuleIdentifier getName() {
-        return name;
-    }
-
     @Override
     public void setRuntimeBeanRegistrator(
             RootRuntimeBeanRegistrator runtimeBeanRegistrator) {
@@ -108,4 +103,10 @@ public class TestingScheduledThreadPoolModule implements Module,
         this.recreate = recreate;
     }
 
+    @Override
+    public ModuleIdentifier getIdentifier() {
+        return identifier;
+    }
+
+
 }