Break open RpcInvocationStrategy 31/103331/2
authorRobert Varga <robert.varga@pantheon.tech>
Wed, 23 Nov 2022 14:50:00 +0000 (15:50 +0100)
committerRobert Varga <robert.varga@pantheon.tech>
Thu, 24 Nov 2022 14:35:58 +0000 (15:35 +0100)
commit0ccadf778dc8532fb9d28a025651522268325d03
treebbe290cf7b045238cf2b542e415c5fa72733ed07
parent137278f590237862ed2c02ed23d6524eb15ca0a7
Break open RpcInvocationStrategy

Creation of the strategy is inter-twined with ContextReferenceExtractor,
which we want to cache in CurrentAdapterSerializer. Inline creation of
the strategy where we have controlled access to
CurrentAdapterSerializer, with RpcServiceAdapter doing the mediation, so
that we do not pass things around and create a method call tangle.

JIRA: MDSAL-777
Change-Id: I3f092f8ce47d154c84ca821512d1fbfbb65d8673
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
binding/mdsal-binding-dom-adapter/src/main/java/org/opendaylight/mdsal/binding/dom/adapter/RpcInvocationStrategy.java
binding/mdsal-binding-dom-adapter/src/main/java/org/opendaylight/mdsal/binding/dom/adapter/RpcServiceAdapter.java