Make dependencyResolver protected in generated code 93/8493/1
authorTomas Olvecky <>
Tue, 1 Jul 2014 12:52:32 +0000 (14:52 +0200)
committerTomas Olvecky <>
Tue, 1 Jul 2014 12:52:32 +0000 (14:52 +0200)
Make Abstract*Module's dependencyResolver protected instead of private,
so that methods like getAttribute can be used from concrete Modules.

Change-Id: Ic02dbb59f9a9fca8138762ff476f2a5e489eb58a
Signed-off-by: Tomas Olvecky <>

index 6eda364..33546b1 100644 (file)
@@ -286,7 +286,7 @@ public class AbsModuleGeneratedObjectFactory {
             format("private final %s oldModule;\n", abstractFQN.getTypeName())+
             format("private final %s oldInstance;\n", AutoCloseable.class.getCanonicalName())+
             format("private %s instance;\n", AutoCloseable.class.getCanonicalName())+
-            format("private final %s dependencyResolver;\n", DependencyResolver.class.getCanonicalName())+
+            format("protected final %s dependencyResolver;\n", DependencyResolver.class.getCanonicalName())+
             format("private final %s identifier;\n", ModuleIdentifier.class.getCanonicalName())+
             format("public %s getIdentifier() {\n", ModuleIdentifier.class.getCanonicalName())+

©2013 OpenDaylight, A Linux Foundation Collaborative Project. All Rights Reserved.
OpenDaylight is a registered trademark of The OpenDaylight Project, Inc.
Linux Foundation and OpenDaylight are registered trademarks of the Linux Foundation.
Linux is a registered trademark of Linus Torvalds.