BUG-7927: stop scanning bundles on framework stop 82/56182/4
authorRobert Varga <robert.varga@pantheon.tech>
Thu, 27 Apr 2017 15:36:37 +0000 (17:36 +0200)
committerStephen Kitt <skitt@redhat.com>
Fri, 28 Apr 2017 09:50:50 +0000 (09:50 +0000)
commit6a79e55d2b6462cd609ab8cd5766fd4222c18c4f
treee6205f6e948eaa63c3d1057e9addc0329a186a27
parent073066012e12969cf901accf9b5fbf4999a18934
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>
opendaylight/md-sal/sal-schema-service/src/main/java/org/opendaylight/controller/sal/schema/service/impl/GlobalBundleScanningSchemaServiceImpl.java