Bug 8364: Set bundle context when module reloads 82/56582/1
authorAndrej Mak <andrej.mak@pantheon.tech>
Fri, 5 May 2017 09:05:46 +0000 (11:05 +0200)
committerAndrej Mak <andrej.mak@pantheon.tech>
Fri, 5 May 2017 09:05:46 +0000 (11:05 +0200)
commitafcbb953ed87cf696116f9034d3d27085805de42
tree307ec49c8b5d4846379debe2a16ed1f56dcca639
parent211a9797a7cdbdec317d76431b8d691ca268aafd
Bug 8364: Set bundle context when module reloads

Fix for bug Bug 8214 handles waiting for AAA, when Restconf
is installed for the first time. Override handleChangedClass
to do the same thing for reinstall case. Also close old
module to release bound ports and started threads.

Change-Id: I00f5f330fca39bb63f66517dddd8d1371ae353e8
Signed-off-by: Andrej Mak <andrej.mak@pantheon.tech>
restconf/sal-rest-connector/src/main/java/org/opendaylight/controller/config/yang/md/sal/rest/connector/RestConnectorModuleFactory.java