Code Review
/
controller.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
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
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 4716d589f1c0b5fc4894ee3d0e0f983957b4cd60..77d1f8bbdfedfca2402b9c310d54cf1413f94340 100644
(file)
--- 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 {
RuntimeBeanRegistratorAwareModule,
TestingScheduledThreadPoolServiceInterface {
- private final ModuleIdentifier
name
;
+ private final ModuleIdentifier
identifier
;
@Nullable
private final AutoCloseable oldCloseable;
@Nullable
@Nullable
private final AutoCloseable oldCloseable;
@Nullable
@@
-41,19
+41,14
@@
public class TestingScheduledThreadPoolModule implements Module,
private RootRuntimeBeanRegistrator runtimeBeanRegistrator;
private boolean recreate;
private RootRuntimeBeanRegistrator runtimeBeanRegistrator;
private boolean recreate;
- public TestingScheduledThreadPoolModule(ModuleIdentifier
name
,
+ public TestingScheduledThreadPoolModule(ModuleIdentifier
identifier
,
@Nullable AutoCloseable oldCloseable,
@Nullable TestingScheduledThreadPoolImpl oldInstance) {
@Nullable AutoCloseable oldCloseable,
@Nullable TestingScheduledThreadPoolImpl oldInstance) {
- this.
name = name
;
+ this.
identifier = identifier
;
this.oldCloseable = oldCloseable;
this.oldInstance = oldInstance;
}
this.oldCloseable = oldCloseable;
this.oldInstance = oldInstance;
}
- @Override
- public ModuleIdentifier getName() {
- return name;
- }
-
@Override
public void setRuntimeBeanRegistrator(
RootRuntimeBeanRegistrator runtimeBeanRegistrator) {
@Override
public void setRuntimeBeanRegistrator(
RootRuntimeBeanRegistrator runtimeBeanRegistrator) {
@@
-108,4
+103,10
@@
public class TestingScheduledThreadPoolModule implements Module,
this.recreate = recreate;
}
this.recreate = recreate;
}
+ @Override
+ public ModuleIdentifier getIdentifier() {
+ return identifier;
+ }
+
+
}
}