Use only BindingRuntimeContext for augmentation loading 07/92807/6
authorRobert Varga <robert.varga@pantheon.tech>
Wed, 30 Sep 2020 11:26:55 +0000 (13:26 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Wed, 30 Sep 2020 15:42:44 +0000 (17:42 +0200)
commite0f32e6aebfe83f54389e45ed94f01e36494cd7b
treed79d8ac6ccf12f5013517e3c1635c2a90efd5d44
parent11db4e7ea702ac79a4320e42fccb6d0175ef524a
Use only BindingRuntimeContext for augmentation loading

BindingRuntimeContext is the only proper way of loading binding
classes. Do not attempt to go behind its back, but rather trust
it can load everything it references -- it is a bug for if it
cannot.

Eliminate opportunistic augmentation class loading, which allows
is to make augmentation prototypes properly constant.

JIRA: MDSAL-578
Change-Id: Ie99e57b29b437a7fee52be4eb5006d3d122cb383
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
binding/mdsal-binding-dom-codec/src/main/java/org/opendaylight/mdsal/binding/dom/codec/impl/DataContainerCodecPrototype.java
binding/mdsal-binding-dom-codec/src/main/java/org/opendaylight/mdsal/binding/dom/codec/impl/DataObjectCodecContext.java