Use bulk-close for internal registrations 27/83627/1
authorRobert Varga <robert.varga@pantheon.tech>
Wed, 14 Aug 2019 14:49:59 +0000 (16:49 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Wed, 14 Aug 2019 15:35:46 +0000 (17:35 +0200)
commit94c11aacec31520a81432120ded09b8a0494f786
treecb06774cba0536e67a28a68c60b4b94bc415250e
parentdf0490c5c6d05e8a798457cb0b20ca87cd6b4562
Use bulk-close for internal registrations

Rather than using wrapped registrations through the public API,
we really want to first remove all modules and then update the
context (if needed).

JIRA: MDSAL-466
Change-Id: Ib281fff7264b3dd11b222095f8286087cb488002
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
(cherry picked from commit a89133403cedfb24983ef5a9d945ab02232fd1bd)
binding/mdsal-binding-dom-codec-osgi/src/main/java/org/opendaylight/mdsal/binding/dom/codec/osgi/impl/Activator.java
binding/mdsal-binding-dom-codec-osgi/src/main/java/org/opendaylight/mdsal/binding/dom/codec/osgi/impl/ModuleInfoBundleTracker.java
binding/mdsal-binding-dom-codec-osgi/src/main/java/org/opendaylight/mdsal/binding/dom/codec/osgi/impl/OsgiModuleInfoRegistry.java