X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=opendaylight%2Fconfig%2Fconfig-manager%2Fsrc%2Ftest%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fconfig%2Fmanager%2Ftestingservices%2Fscheduledthreadpool%2FTestingScheduledThreadPoolModule.java;h=77d1f8bbdfedfca2402b9c310d54cf1413f94340;hb=30c43b1714eff95a8b7b601888fdb03da7150216;hp=4716d589f1c0b5fc4894ee3d0e0f983957b4cd60;hpb=9fb64948564e252018f9b1e13e7cea2c92f991aa;p=controller.git diff --git a/opendaylight/config/config-manager/src/test/java/org/opendaylight/controller/config/manager/testingservices/scheduledthreadpool/TestingScheduledThreadPoolModule.java b/opendaylight/config/config-manager/src/test/java/org/opendaylight/controller/config/manager/testingservices/scheduledthreadpool/TestingScheduledThreadPoolModule.java index 4716d589f1..77d1f8bbdf 100644 --- a/opendaylight/config/config-manager/src/test/java/org/opendaylight/controller/config/manager/testingservices/scheduledthreadpool/TestingScheduledThreadPoolModule.java +++ b/opendaylight/config/config-manager/src/test/java/org/opendaylight/controller/config/manager/testingservices/scheduledthreadpool/TestingScheduledThreadPoolModule.java @@ -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; + } + + }