Use bulk-close for internal registrations 25/83625/3
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:26:28 +0000 (17:26 +0200)
commita89133403cedfb24983ef5a9d945ab02232fd1bd
treedb3398e480cb5cbfbd2a9c98bd81b7dd14dd698d
parent7a739663d766c8ee83fb17e0e4199a3945ad674f
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>
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