Rework BindingDOMRpcImplementationAdapter instantiation
authorRobert Varga <rovarga@cisco.com>
Wed, 27 May 2015 11:45:07 +0000 (13:45 +0200)
committerGerrit Code Review <gerrit@opendaylight.org>
Mon, 8 Jun 2015 11:29:29 +0000 (11:29 +0000)
commit362b22171184a694fdce832f967906f9010eaed6
tree1f727d5a2e8e1311bd619d8c8b98c9e619bbf5ea
parent875fc74b03458d69694275de2c2168af1e6265ee
Rework BindingDOMRpcImplementationAdapter instantiation

Move the SchemaPath/Method map closer to where we instantiate invokers.
This has the benefit of speeding up registration code very slightly,
but more importantly it allows instantiating more efficient invokers, as
we have the SchemaPath->Method map readily available.

Change-Id: Iefc0faadcfd7df6c40240ce1f78c7b734f06c618
Signed-off-by: Robert Varga <rovarga@cisco.com>
(cherry picked from commit 99783448ed6bbcad04b66379db638241c58e3ec8)
opendaylight/md-sal/sal-binding-broker/src/main/java/org/opendaylight/controller/md/sal/binding/impl/BindingDOMRpcImplementationAdapter.java
opendaylight/md-sal/sal-binding-broker/src/main/java/org/opendaylight/controller/md/sal/binding/impl/BindingDOMRpcProviderServiceAdapter.java