BUG-7927: stop scanning bundles on framework stop 92/56192/4
authorRobert Varga <robert.varga@pantheon.tech>
Thu, 27 Apr 2017 17:33:36 +0000 (19:33 +0200)
committerRobert Varga <nite@hq.sk>
Thu, 27 Apr 2017 23:23:29 +0000 (23:23 +0000)
commit2d05325b648b880088cea24ee1afd9edfc5a8979
treeeac392c80081a79b66c4334f44f927826fa4e97f
parentf50b86691636da4acc5b0f0caf0601edcf25eed7
BUG-7927: stop scanning bundles on framework stop

Monitor framework bundle for STOPPING event and when it triggers
flag us as stopping: all bundles are about to shut down, so there
is no point in trying to update the schema context anymore.

Change-Id: I1a55169fce1705c19a139063cf632674fc256701
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
dom/mdsal-dom-broker/src/main/java/org/opendaylight/mdsal/dom/broker/osgi/OsgiBundleScanningSchemaService.java