Do not re-register config instances to OSGi service registry if old instance is reused. 03/2903/1
authorTomas Olvecky <tolvecky@cisco.com>
Wed, 20 Nov 2013 12:06:58 +0000 (13:06 +0100)
committerTomas Olvecky <tolvecky@cisco.com>
Wed, 20 Nov 2013 12:06:58 +0000 (13:06 +0100)
commit17a3e02447aaefcac4f1bf4c0f4e5201d9339dda
treeaef93ef6b9c51d7d21371362ffac61c49d86dab0
parent2bf4d0de330a68047643477fcdf219c1e6be9e9d
Do not re-register config instances to OSGi service registry if old instance is reused.

Keep old OSGi service registration when reusing old instance. Also move @Deprecated flag in ModuleInternalTransactionalInfo where it belongs.

Change-Id: I1e6f75f9ac225dd6149e24adb3713e2b2ed8dc50
Signed-off-by: Tomas Olvecky <tolvecky@cisco.com>
opendaylight/config/config-manager/src/main/java/org/opendaylight/controller/config/manager/impl/ConfigRegistryImpl.java
opendaylight/config/config-manager/src/main/java/org/opendaylight/controller/config/manager/impl/ModuleInternalTransactionalInfo.java