Bug 8364: Set bundle context when module reloads 83/56583/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:16:53 +0000 (09:16 +0000)
commit214883e844be8ca3b91140508170cfed6158e31c
treee676f0e616ecb606a1d6c4ebe02fb1612d386a31
parent50351b4cb37a1998cfaef53ff584aeb767c25f50
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